RangiLyu / nanodet

NanoDet-Plus⚡Super fast and lightweight anchor-free object detection model. 🔥Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphone🔥
Apache License 2.0
5.71k stars 1.04k forks source link

DataLoader` returned 0 length. CombinedLoader` across ranks is zero. #486

Open harryc7 opened 1 year ago

harryc7 commented 1 year ago

D:\ANACONDA\envs\yy\lib\site-packages\pytorch_lightning\utilities\data.py:110: UserWarning: DataLoader returned 0 length. Please make sure this was your intention. rank_zero_warn( D:\ANACONDA\envs\yy\lib\site-packages\pytorch_lightning\utilities\data.py:141: UserWarning: Total length of CombinedLoader across ranks is zero. Please make sure this was your intention. rank_zero_warn( Trainer.fit stopped: No training batches.

how to deal with it?

DAMIFAN11 commented 1 year ago

请问您的问题解决了吗

lvsejunzhuang commented 1 year ago

Have you solved your problem?

Melofat commented 1 year ago

Met the same problem while training

TejavardhanReddy03 commented 1 year ago

pls share solution if you have dealt with it. thanks

LieKKKKK commented 11 months ago

Hey guys, i solved this problem by changing the value of workers_per_gpu and batchsize_per_gpu in the config yml file

LieKKKKK commented 11 months ago

pls share solution if you have dealt with it. thanks

Hey guys, i solved this problem by changing the value of workers_per_gpu and batchsize_per_gpu in the config yml file

LieKKKKK commented 11 months ago

D:\ANACONDA\envs\yy\lib\site-packages\pytorch_lightning\utilities\data.py:110: UserWarning: DataLoader returned 0 length. Please make sure this was your intention. rank_zero_warn( D:\ANACONDA\envs\yy\lib\site-packages\pytorch_lightning\utilities\data.py:141: UserWarning: Total length of CombinedLoader across ranks is zero. Please make sure this was your intention. rank_zero_warn( Trainer.fit stopped: No training batches.

how to deal with it?

Hey guys, i solved this problem by changing the value of workers_per_gpu and batchsize_per_gpu in the config yml file