-
Notifications
You must be signed in to change notification settings - Fork 32
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
TypeError: object of type 'AspectRatioGroupedDataset' has no len() #42
Comments
Hi, I remember seeing this error once and it was resolved by using the right environment and config setup. A few things to check:
Let me know if these help you solve the problem, and happy to answer any further questions. |
Hi! Thank you so much for your prompt reply, and the issue has been resolved. I reinstalled and installed Detectron2, then ran the code again with the demo datasets. However, the process terminated, and I suspect it might be due to my MacBook not having enough memory. Do you know what the minimum requirements are for the memory in terms of fine-tuning the model? I want to ensure that my system is capable of handling it. Thank you! |
Glad the issue was resolved! The minimum requirement to run the model was V100 in our experiments. If there is CUDA out of memory issue, you can reduce the batch size for training in train.sh (the default value was 4). |
Dear Authors:
Hi, thank you so much for your work and making it open source. It is amazing.
I have encountered an issue in the XdecoderPipeline.py when trying to finetune the model, I had this TypeError: object of type 'AspectRatioGroupedDataset' has no len(), I was wondering if anyone has encountered this and how I could solve it. Thank you! (I am running it on a mac)
The text was updated successfully, but these errors were encountered: