-
Notifications
You must be signed in to change notification settings - Fork 135
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
The dataset type does not have the len() attribute #93
Comments
I have encountered the same problem. Have you resolved it? |
logger.info(f'num of train samples: {len(dataloader)}') |
Unfortunately, I have not solved this problem either, and I am waiting for the author to answer. |
please install customized detectron2: git+https://github.com/MaureenZOU/detectron2-xyz.git |
I will download detectron2 again according to your suggestion. I hope it will work, thank you. |
pip install git+https://github.com/MaureenZOU/detectron2-xyz.git |
Thank you very much! This is because of the detectron2 version issue. Moreover, thank you very much for your work on X-decoder, it gives me some inspiration. |
The author's answer has solved this problem, you can try it out. |
Hi, I have some issues when installing detectron2, here are the install command and the problem.
note: This error originates from a subprocess, and is likely not a problem with pip. |
I tried both the 2.0 and main branches , and produced the same error.
Part of the error code:
`
class JointLoader(torchdata.IterableDataset):
Output error:
i dont know why the object of type 'AspectRatioGroupedDataset' has no len()
The text was updated successfully, but these errors were encountered: