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

error during training New weight file with available YOLOV3-TINY trained classes and new 4 classes #4487

Open aravindvel opened 4 years ago

aravindvel commented 4 years ago

I want to add 4 more classes with available YOLOV3-TINY trained 80 classes.

And I followed below steps started training with the images of the 4 classes what i wanted to detect ./darknet detector train data/obj.data yolov3-tiny-obj.cfg yolov3-tiny.conv.90 But it is giving error "Images not found for object detection"

Thanks & Regards aravindan k

AlexeyAB commented 4 years ago

Can you show screenshot of the error.

aravindvel commented 4 years ago

error

Please find screenshot of the error.

AlexeyAB commented 4 years ago

So check that you have such images.

aravindvel commented 4 years ago

Hi

I have followed the below comments

./darknet partial cfg/yolov3-tiny.cfg yolov3-tiny.weights yolov3-tiny.conv.15 15

./darknet detector train data/obj.data yolov3-tiny-obj.cfg yolov3-tiny.conv.15

New weight file has been created after training with my new class images. but it is not detecting the old classes already available.

Pls do needful.

Regards, Aravind K

AlexeyAB commented 4 years ago

New weight file has been created after training with my new class images. but it is not detecting the old classes already available.

This is normal.

aravindvel commented 4 years ago

@AlexeyAB Then what should I do to get other objects to be detected

AlexeyAB commented 4 years ago

Train with MS COCO dataset + Your dataset

aravindvel commented 4 years ago

@AlexeyAB Hi Thank you for your valuable time.

I have done COCO MS to YOLO conversion and started training COCO data set with my dataset. I have trained up-to 10000 iteration. I can able to fine few of MS COCO dataset objects but images from my dataset is not getting detected.

Note I am adding my classes as 81. classes filter set to 258 in cfg file. Please help me to move further.

regards, Aravind K