2018年8月30日星期四

Faster RCNN_tensorflow训练自己的数据集


按主页修改后,

转化为tfrecoard:
python convert_data_to_tfrecord.py --VOC_dir='/home/zhoujie/Faster-RCNN_Tensorflow/VOCdevkit/VOCdevkit_train/' --xml_dir='Annotation' --image_dir='JPEGImages' --save_name='train' --img_format='.jpg' --dataset='pascal' --save_dir='/home/zhoujie/Faster-RCNN_Tensorflow/data/tfrecord/'
训练:

cd $PATH_ROOT/tools
python train.py

没有评论:

发表评论

Failed to find TIFF library

ImportError: Failed to find TIFF library. Make sure that libtiff is installed and its location is listed in PATH|LD_LIBRARY_PATH|.. 解决方法: ...