-1

so in my python programming I was doing an object detection problem with the custom dataset, and having an issue on it.

When I wrote it jupyter file

!cd yolov5 && python train.py --img 320 --batch 16 --epochs 5 --data dataset.yaml --weights yolov5s.pt

then I got an error which is:

AttributeError: 'NoneType' object has no attribute 'keys'

I tried to edit yaml dataset and still I am having the similar issue

I just want no error in in my model ...

  • Refer to this [link](https://stackoverflow.com/help/how-to-ask) for how to ask questions. You should be more specific about your error. For example: in which line or which file the error occurs. – GenZ Aug 26 '23 at 16:18
  • Please provide enough code so others can better understand or reproduce the problem. – Community Aug 27 '23 at 19:17

0 Answers0