create_data.sh

root_dir=/home/jin/caffe_dssd
echo rootdircdroot_dir

redo=1
data_root_dir=”$HOME/Downloads/PyData/Cares”
dataset_name=”VOCar_plate”

mapfile=”/home/jin/Downloads/PyData/Cares/labelmap_carplate.prototxt”
anno_type=”detection”
db=”lmdb”
min_dim=0
max_dim=0
width=0
height=0

extra_cmd=”–encode-type=jpg –encoded”
if [ redo]thenextracmd=extra_cmd –redo”
fi
for subset in test trainval

python rootdir/scripts/createannoset.pyannotype=anno_type
–label-map-file=mapfilemindim=min_dim –max-dim=maxdimresizewidth=width --resize-height=heightchecklabelextra_cmd datarootdirdata_root_dir/subset.txtdata_root_dir/datasetname/db/datasetnamesubset"_"dbexamples/dataset_name

done

阅读更多
个人分类: shell
上一篇"caffe.LayerParameter" has no field named
下一篇ubuntu 安装tensorflow-gpu==1.8
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭