Implementation of YOLO v3 object detector in Tensorflow (TF-Slim). Full tutorial can be found here.
Tested on Python 3.5, Tensorflow 1.11.0 on Ubuntu 16.04.
To run demo type this in the command line:
wget https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
wget https://pjreddie.com/media/files/yolov3.weights
wget https://pjreddie.com/media/files/yolov3-tiny.weights
wget https://pjreddie.com/media/files/yolov3-spp.weights
python ./convert_weights.py
and python ./convert_weights_pb.py
python ./demo.py --input_img <path-to-image> --output_img <name-of-output-image> --frozen_model <path-to-frozen-model>
--class_names
--weights_file
--data_format
NCHW
(gpu only) or NHWC
--tiny
--spp
--ckpt_file
--class_names
--weights_file
--data_format
NCHW
(gpu only) or NHWC
--tiny
--spp
--output_graph
--class_names
--weights_file
--data_format
NCHW
(gpu only) or NHWC
--ckpt_file
--frozen_model
--conf_threshold
--iou_threshold
--gpu_memory_fraction