Luodian / Mapillary2COCO

Transfer Mapillary Vistas Dataset to Coco format
28 stars 10 forks source link

Stats #6

Closed zhuwenzhen closed 3 years ago

zhuwenzhen commented 3 years ago

Hi @Luodian could you review the stats you requested.

I tested on a sample dataset:

image

You can run it as:

if __name__ == "__main__":
    dataset_root = "/home/ec2-user/SageMaker"
    run_stats_on_datasets(dataset_root, "data/training/images")
    run_stats_on_datasets(dataset_root, "data/testing/images")
    run_stats_on_datasets(dataset_root, "data/validation/images")