Skip to content
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' #34

Open
fky07 opened this issue Aug 8, 2023 · 5 comments
Open

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

fky07 opened this issue Aug 8, 2023 · 5 comments

Comments

@fky07
Copy link

fky07 commented Aug 8, 2023

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?

@GuangxingHan
Copy link
Owner

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

@fky07
Copy link
Author

fky07 commented Aug 15, 2023

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?

@GuangxingHan
Copy link
Owner

Yes, they are all implemented in the codebase.

@fky07
Copy link
Author

fky07 commented Aug 15, 2023

thank you for your reply

@fky07
Copy link
Author

fky07 commented Aug 15, 2023

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 fky07 closed this as completed Aug 15, 2023
@fky07 fky07 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
@fky07 fky07 reopened this Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants