# tensorflow-yolo3 **Repository Path**: simonwang00/tensorflow-yolo3 ## Basic Information - **Project Name**: tensorflow-yolo3 - **Description**: tensorflow implementation of yolov3 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tensorflow-yolo3 [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE) --- ## Detection 1、If use the pretrain model, download YOLOV3 weights from [YOLO website](http://pjreddie.com/darknet/yolo/). 2、Modify yolo3_weights_path in the config.py 3、Run detect.py ``` wget https://pjreddie.com/media/files/yolov3.weights python detect.py --image_file ./test.jpg ``` ![result](https://raw.githubusercontent.com/aloyschen/tensorflow-yolo3/master/result.jpg) ## Training convert train and val data to tfrecord 1、Download the COCO2017 dataset from [COCO_website](http://cocodataset.org) 2、Modify the train and val data path in the config.py 3、If you want to use original pretrained weights for YOLOv3, download from [darknet53 weights](https://pjreddie.com/media/files/darknet53.conv.74) 4、rename it as darknet53.weights, and modify the darknet53_weights_path in the config.py ``` wget https://pjreddie.com/media/files/darknet53.conv.74` ``` 4、Modify the data augmentation parameters and train parameters 5、Run yolo_train.py ## Evaluation 1、Modify the pre_train_yolo3 and model_dir in config.py 2、Run detect.py ``` python detect.py --image_file ./test.jpg ``` ## Train Image show on Tensorboard ![train](https://github.com/aloyschen/tensorflow-yolo3/blob/master/model_data/TrainImage.png) ## Notice If you want to modify the Gpu index, please modify gpu_index in config.py ## Credit ``` @article{yolov3, title={YOLOv3: An Incremental Improvement}, author={Redmon, Joseph and Farhadi, Ali}, journal = {arXiv}, year={2018} } ``` ## Reference * [keras-yolo3](https://github.com/qqwweee/keras-yolo3)