python - download_and_preprocess_mscoco for show and tell models im2txt -


enter link description herei input chinese json file , got response. here's error code:

traceback (most recent call last):

file "/home/hsu/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 482, in <module> tf.app.run() file "/home/hsu/.local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) file "/home/hsu/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 458, in main flags.train_image_dir) file "/home/hsu/models/im2txt/bazel-bin/im2txt/download_and_preprocess_mscoco.runfiles/im2txt/im2txt/data/build_mscoco_data.py", line 408, in _load_and_process_metadata caption_data = json.load(f) file "/usr/lib/python2.7/json/__init__.py", line 291, in load **kw) file "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) file "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) file "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) valueerror: expecting object: line 1 column 5217 (char 5216) 

which part of error did not notice it? thank you!


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -