Mr Dinosaur
Mr Dinosaur
> 是的,但我不知道为什么我无法训练我的数据集。我已经尝试了一切 I suggest you start from scratch, place the train.py file and data set in the root directory, and create a yaml file as follows YOLO formatted datasets do...
> 这些错误与我之前遇到的错误相同。 > > f“WARNING: 在 {osp.dirname(self.img_paths[0])} 中找不到任何标签。“ 属性错误: 'TrainValDataset' 对象没有属性 'img_paths' I have encountered these errors before, but they are all related to the format or path of the...
I'm sorry that my English is not very good. The TXT label file is in the labels folder, and the labels file path is not entered in the YAML file...
> 我相信您需要为火车/val图像创建“图像”文件夹,如步骤3中的[#181(注释)](https://github.com/meituan/YOLOv6/issues/181#issuecomment-1173024487)所示。 No, I didn't create the images folder. If I did, I would get an error that I couldn't find the images
> 最新的来源是否正确?从最新来源学习似乎没有问题。我认为最好通过执行git拉取来更新到最新的源代码。 It's the latest Git, I tried it again, but it's the same mistake 
> 它似乎不是最新的来源。较新的源具有不同的cfg部分。在较新的源中,cfg 中的默认值为空。 parser.add_argument('--cfg', type=str, default='', help='model.yaml path') 我过去也遇到过这个问题,但是我正在学习,而最新的源代码没有任何问题。 I just downloaded it from Git today. My yolov7-d6.yaml is from CFG 
> train_aux.py should use cfg/training/*.yaml. I get an error message when I use the yolov7-d6.pt model. When I delete the yolov7-d6.pt model, it works fine. Why is that?  ...
> 请使用 yolov7-d6_training.pt 代替。 Where is the yolov7-d6 train.pt file you mentioned?
I also encountered the same problem, but I found that the problem could be solved by turning down the batch, but I don't know why this is so, and the...