vincentgong7 / VG_AlexeyAB_darknet

A forked AlexeyAB Darknet repo with extra convenient functions.

Home Page:https://darknet.gong.im

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why should we use cfg/somefile.data

mjack3 opened this issue · comments

If i have a trained yolo model on my custom dataset, why is not enought with weights and model.cfg?
For instance this is my call

./darknet detector batch cfg/obj.data cfg/yolov3-tiny-obj.cfg weights/yolov3-tiny-obj-416_best.weights io_folder samples/ output/ -out output/result.json -ext_output > output/result.txt -dont_show

this is what obj.data contains:

classes = 1
train = cfg/train.txt
valid = cfg/test.txt
names = cfg/obj.names
backup = /backup

In fact, i am not using anythin of this path but obj.names with this content:

Olive

Sorry, i am meaning, if we are doing inferences with a trained model on a folder with images, why are we using the(for instance) cfg/coco.data? In yolo documentation is enought with weights and model.cfg