执行train.py时,会出现asterionError。
我正在尝试在Anaconda提示中执行Python Train.py,但是我收到了许多线条文本和一个断言:找不到文件:Div2.yaml。 如您所见,我的 div2.yaml 文件是基于链接到我的数据集照片和验证的Coco128。
python train.py -img 640 - 零件16 - epochs 3 - data div2.yaml- weights yolov5s.pts.pt
我试图上传更多的屏幕打印以显示文件目录,但是它不允许我。 Div2.YAML文件位于 c:\ users \ marti \ desktop \ yolov5 \ data 中。 我尝试将完整的目录输入代码,但我的结果相同。 我不确定怎么了,如果有人可以帮助
您
I am trying to execute python train.py within Anaconda prompt but I am receiving numerous line text and an AssertionError: File not found: div2.yaml.
As you can see my div2.yaml file is based on the coco128 thats linked to my datasets photos and validation.
python train.py --img 640 --batch 16 --epochs 3 --data div2.yaml --weights yolov5s.pt
I tried to Upload more screen prints to show the file directories, but it wont allow me.
The div2.yaml file is located in C:\Users\Marti\Desktop\yolov5\Data.
I have tried entering the full directory into the code but I have the same outcome.
I am not sure what is wrong, if someone can help
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论