Tianhao-Qi
Tianhao-Qi
> Could you provide a config so that we can reproduce the error? The config file I used is configs/simple_copy_paste/mask_rcnn_r50_fpn_syncbn-all_rpn-2conv_ssj_scp_32x2_270k_coco.py.
> i use former vision cvpods (cvpods-dump_voc_to_disk.zip)and there is no errors. i use the newest vision cvpods and there is a same bug which is like upstairs, there is an...
> That's wired, code [here](https://github.com/Megvii-BaseDetection/cvpods/blob/master/tools/train_net.py#L148-L149) add sys path to import config. The code should be: extra_sys_path = os.getcwd() if args.dir is None else args.dir sys.path.append(extra_sys_path)
根据img_meta[img_id]['batch_input_shape'] = tuple(img.size()[-2:])处的报错信息TypeError: 'DataContainer' object is not subscriptable,应该检查一下使用数据集的img_meta是什么,我合理推测是因为这个不能被索引导致的
如果想快速避免这个问题,可以将config里面的evaluation = dict(metric=['bbox'], interval=1, save_best='auto', rule='greater')改成evaluation = dict(metric=['bbox'], interval=12),这样可以保证训练能结束,最后再单独拎出来测试,遇到问题debug就行
你可以在仓库中faster rcnn的原生config上使用你的数据集配置跑组实验,以此判断问题来源
在ReweightHook中会根据条件把self.reweight设为True,论文Table III中的倒数第三行展示了没有reweight的效果,边界框的AP只能取得26.7的结果。
> 大佬,LVIS标签链接失效了,下载不了。可以重新给个链接嘛 Thanks for your reminding, I have already updated the downloading urls.
你好,这个方法我们只在两阶段检测器上尝试过,没有在单阶段检测器上测试过,可以先在分类头上尝试一下,如果有问题可以深入讨论下~