Spaces:
Build error
Build error
update
Browse files- mmdet/models/detectors/base.py +2 -2
- requirements.txt +0 -1
mmdet/models/detectors/base.py
CHANGED
|
@@ -351,5 +351,5 @@ class BaseDetector(nn.Module, metaclass=ABCMeta):
|
|
| 351 |
wait_time=wait_time,
|
| 352 |
out_file=out_file)
|
| 353 |
|
| 354 |
-
if not (show or out_file):
|
| 355 |
-
|
|
|
|
| 351 |
wait_time=wait_time,
|
| 352 |
out_file=out_file)
|
| 353 |
|
| 354 |
+
# if not (show or out_file):
|
| 355 |
+
return img
|
requirements.txt
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
--find-links https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
|
| 2 |
mmcv-full==1.3.17
|
| 3 |
-
mmdet==2.11.0
|
| 4 |
torch==1.10.0
|
| 5 |
torchvision
|
| 6 |
einops
|
|
|
|
| 1 |
--find-links https://download.openmmlab.com/mmcv/dist/cpu/torch1.10.0/index.html
|
| 2 |
mmcv-full==1.3.17
|
|
|
|
| 3 |
torch==1.10.0
|
| 4 |
torchvision
|
| 5 |
einops
|