-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'shape' #49
Comments
This is likely due to errors from reading images. Please make sure you have the dataset in place |
hello,i face the same issue and don't know the reason,my dataset are corrected putted in the right place and it still occured the problem |
this error is dut to the wrong path of your ground truth labels which can not be loaded by opencv. |
i meet the problem too,but did download SegmentationClassAug and placed it in AdvSemiSeg/dataset/VOC2012/JPEGImages/.how can solve this please? |
You should put the folder “SegmentationClassAug“” under the “dataset/VOC2012/” path |
I fixed this problem by changing something else. |
File "D:\workspace\AdvSemiSeg\dataset\voc_dataset.py", line 56, in getitem
img_h, img_w = label.shape
AttributeError: 'NoneType' object has no attribute 'shape'
Can you help me? I tried some ways,but it still has errors.Thank you!
The text was updated successfully, but these errors were encountered: