Skip to content
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: 'NoneType' object is not iterable #9

Open
18205698790 opened this issue Jul 24, 2021 · 0 comments
Open

训练时报错TypeError: 'NoneType' object is not iterable #9

18205698790 opened this issue Jul 24, 2021 · 0 comments

Comments

@18205698790
Copy link

您好,我是一个刚学习深度学习不久的萌新。我在用pycharm进行训练的时候出现了TypeError: 'NoneType' object is not iterable问题,我使用的数据是您的那个口罩佩戴检测数据集。我的eus.yaml文件里的设置是:nc: 2,names: ["FaceMask","NoMask"]。我在运行train.py时的超参设置为--batch-size 4 --img 896 896 --data eus.yaml --cfg models/eus/yolov4-p7.yaml --weights 'pretrain/yolov4-p7.pt' --sync-bn --device 0 --name yolov4-p7。希望您在百忙之中抽出一点时间来解答一下我的疑惑,谢谢您!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant