akarazniewicz / cocosplit

Simple tool to split COCO annotations into train/test datasets.
243 stars 94 forks source link

Don't fail on missing optional fields #6

Open tjaffri opened 3 years ago

fedorukol commented 2 years ago

I've run into same problem but I would suggest to do it more "pythonic" way by using Dict.get method. Added as code comments