Error while converting to Tfrecords

Traceback (most recent call last):
File “/usr/local/bin/tlt-dataset-convert”, line 8, in
sys.exit(main())
File “./detectnet_v2/scripts/dataset_convert.py”, line 64, in main
File “./detectnet_v2/dataio/dataset_converter_lib.py”, line 74, in convert
File “./detectnet_v2/dataio/dataset_converter_lib.py”, line 108, in _write_partitions
File “./detectnet_v2/dataio/dataset_converter_lib.py”, line 149, in _write_shard
File “./detectnet_v2/dataio/kitti_converter_lib.py”, line 169, in _create_example_proto
File “./detectnet_v2/dataio/kitti_converter_lib.py”, line 290, in _add_targets
AttributeError: ‘int’ object has no attribute ‘lower’

I am trying to use detectnet_v2 for character detection for Licence_plate characters using tlt.
This is how my labels.txt look like

n 0.0 0 0.0 59.0 13.0 84.0 33.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
l 0.0 0 0.0 84.0 13.0 109.0 33.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
5 0.0 0 0.0 131.0 13.0 154.0 33.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
3 0.0 0 0.0 157.0 13.0 181.0 33.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
e 0.0 0 0.0 59.0 37.0 83.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
f 0.0 0 0.0 85.0 37.0 111.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
4 0.0 0 0.0 130.0 37.0 153.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
8 0.0 0 0.0 154.0 37.0 179.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
2 0.0 0 0.0 181.0 37.0 206.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
3 0.0 0 0.0 208.0 37.0 232.0 57.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0

Please change class name from “3” to “three”, etc.

Hi @Morganh,

Thank you, I had renamed and started the training for all integers.