Closed shishi-jie closed 2 months ago
File "D:\000_zhuang\DA_F_RCNN_torch_c\maskrcnn_benchmark\data\transforms\transforms.py", line 60, in call target = target.resize(image.size) AttributeError: 'list' object has no attribute 'resize'
Hi, you could consider to follow https://github.com/facebookresearch/maskrcnn-benchmark/issues/876 to rename all self.transforms to self._transforms in coco.py.
self.transforms
self._transforms
File "D:\000_zhuang\DA_F_RCNN_torch_c\maskrcnn_benchmark\data\transforms\transforms.py", line 60, in call target = target.resize(image.size) AttributeError: 'list' object has no attribute 'resize'