Generalize the xml parsing to facilitate custom datasets.
Instead of searching the annotation files based on class names in the filenames, read all the XML annotation files. For the cats/dogs use-case, just delete all the XML files that are not the breeds we care about. PiperOrigin-RevId: 410613750
Showing
Please register or sign in to comment