You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I checked that the picture exists in ./coco/train2014/, and whether ./coco/support/trainval2014/is created by 2_ gen_ support_ pool. Whether there is a problem in the generation process, or whether there are any files that need to be downloaded
Dear author, I would like to ask what may cause the following problems in the process of generating support sets when running your code:
python datasets/coco/2_gen_support_pool.py
[u'info', u'licenses', u'images', u'annotations', u'categories']
loading annotations into memory...
Done (t=5.84s)
creating index...
index created!
0
('path:', '/home/lthpc/Annotation/CH/Meta-Faster-R-CNN-main/datasets/coco/support/trainval2014/COCO_train2014_000000262146.jpg')
/home/lthpc/Annotation/CH/Meta-Faster-R-CNN-main/datasets/coco/support/trainval2014/COCO_train2014_000000262146.jpg
('img.shape', None)
Traceback (most recent call last):
File "datasets/coco/2_gen_support_pool.py", line 267, in
support_df = main()
File "datasets/coco/2_gen_support_pool.py", line 243, in main
support_img, support_box = crop_support(im, bbox)
File "datasets/coco/2_gen_support_pool.py", line 51, in crop_support
image_shape = img.shape[:2]# h, w
AttributeError: 'NoneType' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered: