You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 132, in <module> tf.app.run() File "/home/junhao/.local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 124, in main tf_example = create_tf_example_from_jpg_xml(images_path+filename+'.jpg', labels_path+filename+'.xml') File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 82, in create_tf_example_from_jpg_xml 'image/filename': dataset_util.bytes_feature(jpg_file), File "./models-master/research/object_detection/utils/dataset_util.py", line 30, in bytes_feature return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value])) TypeError: './666/images/2017-12-15 12_59_56.052543.jpg' has type str, but expected one of: bytes
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last): File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 132, in <module> tf.app.run() File "/home/junhao/.local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 124, in main tf_example = create_tf_example_from_jpg_xml(images_path+filename+'.jpg', labels_path+filename+'.xml') File "/media/junhao/SSD2/Download/OurCamera-master/OurCamera-master/generate_tfrecord.py", line 82, in create_tf_example_from_jpg_xml 'image/filename': dataset_util.bytes_feature(jpg_file), File "./models-master/research/object_detection/utils/dataset_util.py", line 30, in bytes_feature return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value])) TypeError: './666/images/2017-12-15 12_59_56.052543.jpg' has type str, but expected one of: bytes
The text was updated successfully, but these errors were encountered: