Detectron trained his picture dataset to appear TypeError: string indices must be integers.

I would like to ask why my picture is named 000001.jpg 000002.jpg. Why would I report this error

after training?

0000001 cannot be counted as an integer. Python will report an error and convert it through int ('0000001') `.


this is because the imges, in my voc_2007_test.json should be list containing a bunch of dictionaries. Although yours is a dictionary, you also need to wrap it in list, otherwise the subscript access will report an error

.
Menu