Open genaev opened 3 years ago
Hi, you can try to use "CocoDataset" as dataset_type instead of "COCODataset" in your config file. If there is still error, please let me know. Thanks.
Hi everyone! I spend some time in this issue, because I ran into the same problem and checked ur solution Chien-Hung. In deed, this did the trick. Would it be a solution to compare the two strings like that: "DetVisGUI.py" Line 360:
if cfg.dataset_type.lower() == 'VOCDataset'.lower():
self.data_info = VOC_dataset(cfg, self.args)
elif cfg.dataset_type.lower() == 'CocoDataset'.lower():
self.data_info = COCO_dataset(cfg, self.args)
So the case of the word will not affect the comparing.
BTW thanks for this nice tool! It has saved me a lot of time :slightly_smiling_face:
I trained the mask_rcnn model and want to visualize the results of the test samples. My data includes two classes and I converted the data to coco format..
cmd line for DetVisGUI:
python DetVisGUI/DetVisGUI.py config/mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_fly.py --det_file work_dirs/mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_fly/test.pkl --stage test
I get the following error:
file mask_rcnn_r50_caffe_fpn_mstrain-poly_1x_fly.py: