Meta-Faster-R-CNN icon indicating copy to clipboard operation
Meta-Faster-R-CNN copied to clipboard

AttributeError: 'NoneType' object has no attribute 'shape'

Open fky07 opened this issue 2 years ago • 5 comments

Why is running 2_ Gen_ Support_ There was an issue with the pool.py file:AttributeError: 'NoneType' object has no attribute 'shape' Is it because there are grayscale images?

fky07 avatar Aug 08 '23 11:08 fky07

Grayscale images should have valid shape. Can you make sure that you have the correct path and get the right image tensor?

GuangxingHan avatar Aug 15 '23 03:08 GuangxingHan

Grayscale images should have valid shape. Can you make sure that you have the correct path and get the right image tensor?

Thank you, there is a problem with the format of the picture I downloaded, it has been solved now. But : due to I didn't find how to implement these two steps in the code,I would like to ask: In the second and third steps of meta-training, Is the corresponding code in meta_faster_rcnn/modeling/fsod?

fky07 avatar Aug 15 '23 03:08 fky07

Yes, they are all implemented in the codebase.

GuangxingHan avatar Aug 15 '23 03:08 GuangxingHan

thank you for your reply

fky07 avatar Aug 15 '23 03:08 fky07

Excuse me again, I don't understand a lot: In the stage of meta-training: BASE in .yaml: "Base-FSOD-C4.yaml" is the object detection model used for meta-training? I don't know its specific role in the meta-training process, can you tell me?

fky07 avatar Aug 15 '23 03:08 fky07