Open HanYuanyuaner opened 6 years ago
I solve this problem, add "img_url = imgs[i][1]['coco_url']" and change "split = imgname.split('')[1]" to "split = img_url.split('/')[3]"
@HanYuanyuaner hello have you trained your own model based on your dataset?
As I can only download the 2017 coco dataset not 2014 case. In .libs/datasets/download_and_convert.py I change 'train2014' and 'val2014' to 'train2017' and 'val2017'; download "instance-valminusminival2014.json" and "instance_minival2014.json"; add them to ./data/coco/annotations. Then I run the download_and_convert_coco.py, the error is as follows:
/home/hanyuan/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from
float
tonp.floating
is deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type
. from ._conv import register_converters as _register_converters loading annotations into memory... Done (t=14.84s) creating index... index created! train2017 has 118287 images 2018-04-13 16:33:15.384007: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMAI guess it happens because train2017 is larger than train2014. Does anyone know how to solve this problem? Thank you