when I try to run download_and_convert_data.py , then
Traceback (most recent call last):
File "download_and_convert_data.py", line 41, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "download_and_convert_data.py", line 35, in main
download_and_convert_coco.run(FLAGS.dataset_dir, FLAGS.dataset_split_name)
File "/home/liumm/YOLO_TF/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 457, in run
dataset_split_name)
File "/home/liumm/YOLO_TF/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 303, in _add_to_tfrecord
img = img.astype(np.uint8)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 528, in getattr
raise AttributeError(name)
AttributeError: trunc
The version of tensorflow is 1.2.0. I don't how to deal with it.
when I try to run download_and_convert_data.py , then
Traceback (most recent call last): File "download_and_convert_data.py", line 41, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "download_and_convert_data.py", line 35, in main
download_and_convert_coco.run(FLAGS.dataset_dir, FLAGS.dataset_split_name)
File "/home/liumm/YOLO_TF/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 457, in run
dataset_split_name)
File "/home/liumm/YOLO_TF/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 303, in _add_to_tfrecord
img = img.astype(np.uint8)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 528, in getattr
raise AttributeError(name)
AttributeError: trunc
The version of tensorflow is 1.2.0. I don't how to deal with it.