mlebench/competitions/herbarium-2020-fgvc7/prepare.py [100:111]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        train_sample_count += len(train_annotations_images)

    # Add to train set
    new_train_metadata = (
        old_train_metadata.copy()
    )  # Keep 'categories', 'info', 'licenses', 'regions'
    new_train_metadata.update(
        {
            "annotations": [],
            "images": [],
        }
    )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



mlebench/competitions/inaturalist-2019-fgvc6/prepare.py [91:102]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        train_sample_count += len(train_annotations_images)

    # Create new train2019.json
    new_train_metadata = (
        old_train_metadata.copy()
    )  # Keep 'info', 'categories', 'licenses' unchanged
    new_train_metadata.update(
        {
            "annotations": [],
            "images": [],
        }
    )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



