shvardhan commited on
Commit
196b3eb
1 Parent(s): f94870d

test model file

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. model.py +1 -0
app.py CHANGED
@@ -24,8 +24,7 @@ import numpy as np
24
  from model import AppModel
25
 
26
  DESCRIPTION = '''# MMDetection
27
- This is an unofficial demo for [https://github.com/open-mmlab/mmdetection](https://github.com/open-mmlab/mmdetection).
28
- <img id="overview" alt="overview" src="https://user-images.githubusercontent.com/12907710/137271636-56ba1cd2-b110-4812-8221-b4c120320aa9.png" />
29
  '''
30
 
31
  DEFAULT_MODEL_TYPE = 'detection'
 
24
  from model import AppModel
25
 
26
  DESCRIPTION = '''# MMDetection
27
+ This is a demo of MMDetection framework trained on biological dataset [Orgaquant](https://www.nature.com/articles/s41598-019-48874-y) to perform organoid detection.
 
28
  '''
29
 
30
  DEFAULT_MODEL_TYPE = 'detection'
model.py CHANGED
@@ -54,6 +54,7 @@ class Model:
54
  | tuple[list[np.ndarray], list[list[np.ndarray]]]
55
  | dict[str, np.ndarray],
56
  score_threshold: float = 0.3) -> np.ndarray:
 
57
  vis = self.model.show_result(image,
58
  detection_results,
59
  score_thr=score_threshold,
 
54
  | tuple[list[np.ndarray], list[list[np.ndarray]]]
55
  | dict[str, np.ndarray],
56
  score_threshold: float = 0.3) -> np.ndarray:
57
+ print('Detection results',detection_results)
58
  vis = self.model.show_result(image,
59
  detection_results,
60
  score_thr=score_threshold,