AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

Nothing happens when I try to train #8187

Open hadign20 opened 3 years ago

hadign20 commented 3 years ago

I am trying to train yolov4 on a custom dataset. I have followed all the steps. But when I try the command below:

darknet.exe detector train data/obj.data yolo-obj.cfg yolov4.conv.137

nothing happens:

WeChat Screenshot_20211028105855

After building the Darknet.sln I have something like this:

WeChat Screenshot_20211028110035

I tried to add some dll files, but didn't help.

How can I make the training start?

haviduck commented 3 years ago

try regular cmd. or do: .\data\blabla as powershells paths are different

hadign20 commented 3 years ago

@haviduck thank you. It was a path problem. I changed the command to:

darknet.exe detector train data/obj.data cfg/yolo-obj.cfg yolov4.conv.137

and it worked.