项目
在 GitHub 查看
nilboy/tensorflow-yolo
关于
“YOLO:实时目标检测”的 TensorFlow 实现(训练和测试)。
机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文tensorflow-yolo
Require
tensorflow-1.0
download pretrained model
yolo_tiny: https://drive.google.com/file/d/0B-yiAeTLLamRekxqVE01Yi1RRlk/view?usp=sharing
mv yolo_tiny.ckpt models/pretrain/
Train
Train on pascal-voc2007 data
Download pascal-Voc2007 data
Download the training, validation and test data
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tarExtract all of these tars into one directory named
VOCdevkittar xvf VOCtrainval_06-Nov-2007.tar tar xvf VOCtest_06-Nov-2007.tarIt should have this basic structure
$VOCdevkit/ # development kit $VOCdevkit/VOCcode/ # VOC utility code $VOCdevkit/VOC2007 # image sets, annotations, etc. # ... and several other directories ...Create symlinks for the PASCAL VOC dataset
cd $YOLO_ROOT/data ln -s $VOCdevkit VOCdevkit2007Using symlinks is a good idea because you will likely want to share the same PASCAL dataset installation between multiple projects.
convert the Pascal-voc data to text_record file
python tools/preprocess_pascal_voc.py
train
python tools/train.py -c conf/train.cfg
Train your customer data
transform your training data to text_record file(the format reference to pascal_voc)
write your own train-configure file
train (python tools/train.py -c $your_configure_file)
test demo
python demo.py
探索相关项目
加载中…