# TensorFlow2.x-YOLOv3
A minimal tensorflow implementation of YOLOv3, with support for training, inference and evaluation.
## Installation
Install requirements and download pretrained weights
```
$ pip3 install -r ./docs/requirements.txt
$ wget https://pjreddie.com/media/files/yolov3.weights
```
## Quick start
In this part, we will use pretrained weights to make predictions on both image and video.
```
$ python image_demo.py
$ python video_demo.py # if use camera, set video_path = 0
```
![image](./docs/kite_result.jpg)
## Train yymnist
Download [yymnist](https://github.com/YunYang1994/yymnist) dataset and make data.
```
$ git clone https://github.com/YunYang1994/yymnist.git
$ python yymnist/make_data.py --images_num 1000 --images_path ./data/dataset/train --labels_txt ./data/dataset/yymnist_train.txt
$ python yymnist/make_data.py --images_num 200 --images_path ./data/dataset/test --labels_txt ./data/dataset/yymnist_test.txt
```
Open `./core/config.py` and do some configurations
```
__C.YOLO.CLASSES = "./data/classes/yymnist.names"
```
Finally, you can train it and then evaluate your model
```
$ python train.py
$ tensorboard --logdir ./data/log
$ python test.py
$ cd ../mAP
$ python main.py # Detection images are expected to save in `YOLOV3/data/detection`
```
Track training progress in Tensorboard and go to http://localhost:6006/
```
$ tensorboard --logdir ./data/log
```
![image](./docs/loss.png)
| train |test|
|---|---
|![image](./docs/01554.jpg)|![image](./docs/01567.jpg)|
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【资源说明】 1、该资源内项目代码都是经过测试运行成功,功能正常的情况下才上传的,请放心下载使用。 2、适用人群:主要针对计算机相关专业(如计科、信息安全、数据科学与大数据技术、人工智能、通信、物联网、数学、电子信息等)的同学或企业员工下载使用,具有较高的学习借鉴价值。 3、不仅适合小白学习实战练习,也可作为大作业、课程设计、毕设项目、初期项目立项演示等,欢迎下载,互相学习,共同进步! 基于TensorFlow2.0 训练YOLOV3模型和Wider Face 数据集进行人脸检测(python源码+项目说明).zip
资源推荐
资源详情
资源评论
收起资源包目录
基于TensorFlow2.0 训练YOLOV3模型和Wider Face 数据集进行人脸检测(python源码+项目说明).zip (44个子文件)
code_30312
wider_annotation.py 4KB
get_kmeans.py 5KB
data
anchors
basline_anchors.txt 73B
anchors.txt 49B
classes
yyface.names 4B
coco.names 625B
detection
0_Parade_marchingband_1_488.jpg 261KB
0_Parade_Parade_0_194.jpg 398KB
0_Parade_Parade_0_429.jpg 201KB
0_Parade_marchingband_1_20.jpg 273KB
0_Parade_marchingband_1_329.jpg 305KB
0_Parade_marchingband_1_353.jpg 342KB
dataset
WIDER_val_1.txt 979KB
WIDER_train_1.txt 3.87MB
yymnist_test.txt 1KB
.idea
YOLOV3.iml 398B
workspace.xml 17KB
misc.xml 288B
modules.xml 264B
encodings.xml 135B
docs
kite.jpg 1.35MB
loss.png 65KB
01567.jpg 52KB
requirements.txt 100B
kite_result.jpg 145KB
road.mp4 782KB
01554.jpg 41KB
core
utils.py 8KB
dataset.py 11KB
common.py 2KB
backbone.py 1KB
yolov3.py 8KB
__pycache__
dataset.cpython-35.pyc 10KB
common.cpython-35.pyc 2KB
utils.cpython-35.pyc 8KB
backbone.cpython-35.pyc 1KB
config.cpython-35.pyc 1KB
yolov3.cpython-35.pyc 7KB
config.py 2KB
image_demo.py 2KB
video_demo.py 2KB
train.py 3KB
test.py 4KB
README.md 1KB
共 44 条
- 1
资源评论
龙年行大运
- 粉丝: 1001
- 资源: 3854
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- IMG_0694.GIF
- 基于图像的三维模型重建C++源代码+文档说明(高分课程设计)
- 基于聚焦法的工件立体测量方案,根据数据进行三维重建 使用HALCON处理图像,MATLAB拟合数据+源代码+数据集+效果图
- 锄战三国村 修改:货币使用不减 v1.10(2) 原创 (中文).apk
- 基于python实现的单目双目视觉三维重建+源代码+图像图片(高分课程设计)
- 基于C+++OPENCV的全景图像拼接源码(课程设计)
- 基于Python+OpenCV对多张图片进行全景图像拼接,消除鬼影,消除裂缝+源代码+文档说明+界面截图(高分课程设计)
- 基于C++实现的全景图像拼接源码(课程设计)
- 基于SIFT特征点提取和RASIC算法实现全景图像拼接python源码+文档说明+界面截图+详细注释(95分以上课程大作业)
- 基于matlab实现眼部判别的疲劳检测系统+源代码+全部数据+文档说明+详细注释+使用说明+截图(高分课程设计)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功