Categories break if they are not consistent between train / vali
Currently if the kwcoco files don't have categories with the same structure, things seem to break in strange ways. I noticed this in my first run of xview2.
We need to make sure the lighting trainer and lighting data module all agree on what the classes are and understand how to do the mapping if the integer ids are different between train / validation datasets.
Tasks
-
Create a MWE using kwcoco demo data -
Create a test that triggers the issue -
Fix the issue
Edited by Jon Crall