iSAID_Devkit icon indicating copy to clipboard operation
iSAID_Devkit copied to clipboard

Categories IDs differ between val and train

Open cipri-tom opened this issue 1 year ago • 0 comments

I downloaded the latest train/Annotations/iSAID_train.json file from Google Drive. It lists categories as follows:

[{'id': 1, 'name': 'storage_tank'},
 {'id': 2, 'name': 'Large_Vehicle'},
 {'id': 3, 'name': 'Small_Vehicle'},
 {'id': 4, 'name': 'plane'},
 {'id': 5, 'name': 'ship'},
 {'id': 6, 'name': 'Swimming_pool'},
 {'id': 7, 'name': 'Harbor'},
 {'id': 8, 'name': 'tennis_court'},
 {'id': 9, 'name': 'Ground_Track_Field'},
 {'id': 10, 'name': 'Soccer_ball_field'},
 {'id': 11, 'name': 'baseball_diamond'},
 {'id': 12, 'name': 'Bridge'},
 {'id': 13, 'name': 'basketball_court'},
 {'id': 14, 'name': 'Roundabout'},
 {'id': 15, 'name': 'Helicopter'}]

This is not consistent with the categories IDs of val/Annotations/iSAID_val.json, nor the ones in

https://github.com/CAPTAIN-WHU/iSAID_Devkit/blob/a671fd53f748e3cb7489b86424f1dce266253461/preprocess/cityscapesScripts/cityscapesscripts/helpers/labels.py#L63-L81

Moreover, this file does not list images width and height :( .

@akshitac8 Do you happen to have an updated file, or should I fix it myself ?

Relevant to #26

cipri-tom avatar Aug 25 '23 13:08 cipri-tom