joe-siyuan-qiao / DetectoRS

DetectoRS: Detecting Objects with Recursive Feature Pyramid and Switchable Atrous Convolution
Apache License 2.0
1.13k stars 178 forks source link

How can we do detection with our own dataset without mask and seg #32

Closed lgldl closed 4 years ago

lgldl commented 4 years ago

when we use our own dataset to train the DetectoRS, the error occured. our dataset have not mask, and we only want to do detectio, how can we do that?

joe-siyuan-qiao commented 4 years ago

Please checkout the mmdetv2 branch which supports detectors that do not output masks.

lgldl commented 4 years ago

Please checkout the mmdetv2 branch which supports detectors that do not output masks. Thank you for your reply, can you tell us how to get mmdev2? we can not find it.

lgldl commented 4 years ago

when we use mmdev2 to do detection task, the error occured, can you tell me how to solve it? the error is as follows: Traceback (most recent call last): File "/home/lgl/PycharmProjects/DetectoRS-mmdetv2/train_crossing.py", line 148, in main() File "/home/lgl/PycharmProjects/DetectoRS-mmdetv2/train_crossing.py", line 144, in main meta=meta) File "/home/lgl/PycharmProjects/DetectoRS-mmdetv2/mmdet/apis/train.py", line 116, in train_detector seed=cfg.seed) for ds in dataset File "/home/lgl/PycharmProjects/DetectoRS-mmdetv2/mmdet/apis/train.py", line 116, in seed=cfg.seed) for ds in dataset File "/home/lgl/anaconda3/envs/DetectoRS/lib/python3.6/site-packages/mmcv/utils/config.py", line 324, in getattr return getattr(self._cfg_dict, name) File "/home/lgl/anaconda3/envs/DetectoRS/lib/python3.6/site-packages/mmcv/utils/config.py", line 36, in getattr raise ex AttributeError: 'ConfigDict' object has no attribute 'gpu_ids'