Spaces:
Paused
Paused
add CenterNet2 path
Browse files
demo.py
CHANGED
@@ -16,6 +16,8 @@ from detectron2.data.detection_utils import read_image
|
|
16 |
from detectron2.utils.logger import setup_logger
|
17 |
|
18 |
sys.path.insert(0, 'third_party/CenterNet2/projects/CenterNet2/')
|
|
|
|
|
19 |
from centernet.config import add_centernet_config
|
20 |
from detic.config import add_detic_config
|
21 |
|
|
|
16 |
from detectron2.utils.logger import setup_logger
|
17 |
|
18 |
sys.path.insert(0, 'third_party/CenterNet2/projects/CenterNet2/')
|
19 |
+
sys.path.insert(0, 'third_party/CenterNet2/')
|
20 |
+
|
21 |
from centernet.config import add_centernet_config
|
22 |
from detic.config import add_detic_config
|
23 |
|