When I was running the Training and Detection.py file and creating the TF records.. I got this error called KeyError: 'license' .. Could you please help with it..
Traceback (most recent call last):
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'
Traceback (most recent call last):
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'
When I was running the Training and Detection.py file and creating the TF records.. I got this error called KeyError: 'license' .. Could you please help with it..
Traceback (most recent call last): File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'
Traceback (most recent call last):
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'