PaddleSeg
PaddleSeg copied to clipboard
关于CPS的数据导入问题dataloader StopIteration
trafficstars
问题确认 Search before asking
- [X] 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.
请提出你的问题 Please ask your question
我导入数据后,尝试打印出/core/train.py中的num_train_imgs和num_unsup_imgs数量并没有错误,不知道为什么会发生StopIteration表示已经读完,请大佬指教
如果数据读完了,应该不会报错,可以看看数据集的getitem中是否返回了除了numpy之后的值。如果返回None之类的数据会出现异常。