EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.93k stars 1.3k forks source link

Issue while generating tfrecords. please help! #559

Open dwifristanti opened 3 years ago

dwifristanti commented 3 years ago

Traceback (most recent call last): File "generate_tfrecord.py", line 168, in tf.app.run() File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 303, in run _run_main(main, args) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main sys.exit(main(argv)) File "generate_tfrecord.py", line 158, in main tf_example = create_tf_example(group, path) File "generate_tfrecord.py", line 132, in create_tf_example classes.append(class_text_to_int(row['class'])) File "generate_tfrecord.py", line 101, in class_text_to_int return label_map_dict[row_label] KeyError: 'table' Traceback (most recent call last): File "generate_tfrecord.py", line 168, in tf.app.run() File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/platform/app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 303, in run _run_main(main, args) File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main sys.exit(main(argv)) File "generate_tfrecord.py", line 158, in main tf_example = create_tf_example(group, path) File "generate_tfrecord.py", line 132, in create_tf_example classes.append(class_text_to_int(row['class'])) File "generate_tfrecord.py", line 101, in class_text_to_int return label_map_dict[row_label] KeyError: 'table'