I use ./darknet detector train button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg darknet53.conv.74 to train my own weights.
here are my cfg file
it is usable in darknet that i test it by my computer camera
./darknet detector demo button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg yolov3-tiny_40000.weights
the outcome looks like this
but when i put my weights to darknet_ros,the buttons can not be detect.
i chang network_param_file in yolo_v3.launch to yolov3-tiny-button.yaml.
I use ./darknet detector train button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg darknet53.conv.74 to train my own weights.
here are my cfg file
By the way,the yolov3-tiny.cfg is same as the I use for training.only batch and
subdivisions i set to 1.
Hello everyone,
I use ./darknet detector train button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg darknet53.conv.74 to train my own weights. here are my cfg file
obj.data classes= 8 train = /home/josh/darknet/button-tiny/cfg/train.txt valid = /home/josh/darknet/button-tiny/cfg/test.txt names = /home/josh/darknet/button-tiny/cfg/obj.names backup = /home/josh/darknet/button-tiny/cfg/weights/
obj.names up down 3 2 1 B1 close open
yolov3-tiny.cfg batch=24 subdivisions=8 classes=8 filter=(classes+3)*5=39
then i get yolov3-tiny_40000.weights
it is usable in darknet that i test it by my computer camera ./darknet detector demo button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg yolov3-tiny_40000.weights the outcome looks like this
but when i put my weights to darknet_ros,the buttons can not be detect. i chang network_param_file in yolo_v3.launch to yolov3-tiny-button.yaml.
yolov3-tiny-button.yaml. yolo_model:
config_file: name: yolov3-tiny.cfg weight_file: name: yolov3-tiny_40000.weights threshold: value: 0.3 detection_classes: names:
I use ./darknet detector train button-tiny/cfg/obj.data button-tiny/cfg/yolov3-tiny.cfg darknet53.conv.74 to train my own weights. here are my cfg file
By the way,the yolov3-tiny.cfg is same as the I use for training.only batch and subdivisions i set to 1.
if anyone face to same problem? thanks a lot!