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
When I tired to run your code on my dataset, I faced this problem.
Do you know how to resolve this problem?
Traceback (most recent call last): File "confusion_matrix.py", line 151, in <module> tf.app.run(main) File "/home/dongs/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "confusion_matrix.py", line 146, in main confusion_matrix = process_detections(FLAGS.detections_record, categories) File "confusion_matrix.py", line 62, in process_detections decoded_dict = data_parser.parse(example) File "/home/dongs/Documents/Project/object-detection-tool/object-detection-tool-debug/models/research/object_detection/metrics/tf_example_parser.py", line 153, in parse results_dict[key] = parser.parse(tf_example) File "/home/dongs/Documents/Project/object-detection-tool/object-detection-tool-debug/models/research/object_detection/metrics/tf_example_parser.py", line 49, in parse self.field_name].HasField("bytes_list") else None TypeError: sequence item 0: expected str instance, bytes found
Thanks.
The text was updated successfully, but these errors were encountered:
frankdeepl
changed the title
Fails with run time error: 'str' object has no attribute 'features'
Fails with run time error: 'TypeError: sequence item 0: expected str instance, bytes found'
Nov 13, 2018
Hi Svpino,
When I tired to run your code on my dataset, I faced this problem.
Do you know how to resolve this problem?
Traceback (most recent call last): File "confusion_matrix.py", line 151, in <module> tf.app.run(main) File "/home/dongs/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "confusion_matrix.py", line 146, in main confusion_matrix = process_detections(FLAGS.detections_record, categories) File "confusion_matrix.py", line 62, in process_detections decoded_dict = data_parser.parse(example) File "/home/dongs/Documents/Project/object-detection-tool/object-detection-tool-debug/models/research/object_detection/metrics/tf_example_parser.py", line 153, in parse results_dict[key] = parser.parse(tf_example) File "/home/dongs/Documents/Project/object-detection-tool/object-detection-tool-debug/models/research/object_detection/metrics/tf_example_parser.py", line 49, in parse self.field_name].HasField("bytes_list") else None TypeError: sequence item 0: expected str instance, bytes found
Thanks.
The text was updated successfully, but these errors were encountered: