-
Notifications
You must be signed in to change notification settings - Fork 137
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
RuntimeError: received 0 items of ancdata #138
Comments
Besides, it also show me the warning |
And I changed the |
Yes it is probably the reason, scale it down and see if the issue persists? Usually, this loading error accurs when parallel data loading is too heavy for your system. |
Now I change it to |
There comes a terrible thing that i still set the |
Besides, the train_augmentation as :
|
Have you ever encountered this problem before? I can not get the useful message from the error message. |
@GCQi In my experience, this problem comes with heavy data loading (according to your hardware). Large batch size, more workers, and long training schedule increase the probability to encounter this error, which could happen halfway through training. You may find that my default batch size is kept at 20 for this very reason. |
Sometimes the file_system strategy could help, but it has a memory leak issue of its own. pytorch-auto-drive/main_landet.py Line 9 in f2615da
|
OK. thanks for your help !! This open frame work is pretty good, thanks for your contirbution and great work |
When I train the lstr based tusimple, as the command is
python main_landet.py --train --config ./configs/lane_detection/lstr/resnet18s_tusimple.py --mixed-precision
, it run sevel epochs and randomly export the errorRuntimeError: received 0 items of ancdata
The error message is:
The text was updated successfully, but these errors were encountered: