Skip to content

Instantly share code, notes, and snippets.

@tohtotera
Created February 3, 2017 15:06
Show Gist options
  • Save tohtotera/2303796c9b80f7179f876f5af53590d2 to your computer and use it in GitHub Desktop.
Save tohtotera/2303796c9b80f7179f876f5af53590d2 to your computer and use it in GitHub Desktop.
tensorflowをactivateしimport cv2をコメントアウト、import cPickleをimport pickleに変更しました。
エラーメッセージ
Traceback (most recent call last):
File "trainer.py", line 77, in <module>
tf.app.run()
File "C:\Users\Weider\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\p
ython\platform\app.py", line 43, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "trainer.py", line 74, in main
run_training()
File "trainer.py", line 21, in run_training
data_sets = input_data.read_data_sets(FLAGS.dataset_dir)
File "C:\Users\Weider\tensorflow_project\IF1703TS2\学習\input_data_proto2.py",
line 101, in read_data_sets
data = pickle.load(f)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x88 in position 9: ordinal
not in range(128)
私の予想
ダウンロードしたpythonプログラムは2.xで作られているのでanacondaで実行するときは画像のSerializeが再度、必要では?でもその方法が分かりません。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment