Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCO Recipe reporting low precision #2013

Open
thomasmilas-swe-bc opened this issue Jun 3, 2024 · 0 comments
Open

COCO Recipe reporting low precision #2013

thomasmilas-swe-bc opened this issue Jun 3, 2024 · 0 comments

Comments

@thomasmilas-swe-bc
Copy link

💡 Your Question

I'm evaluating supergradients and YoloNAS and I'm trying to use the coco recipe to train a model from scratch. I am getting < .20onPrecision@0.50:0.95`. For an out of the box recipe I assumed the numbers would be more like a expect, getting a closer match to recall. Recall raises as expected, as well does MAP.

On other builds (fine tuning with my own data) I see similar issues with the precision metrics. when I run an external evaluation on a test dataset my precision number is much higher so, I'm thinking this may be an issue with metrics calculation.

I'm using the following dataset:

To use this Dataset you need to:

        - Download coco dataset:
            annotations: http://images.cocodataset.org/annotations/annotations_trainval2017.zip
            train2017: http://images.cocodataset.org/zips/train2017.zip
            val2017: http://images.cocodataset.org/zips/val2017.zip

        - Unzip and organize it as below:
            coco
            ├── annotations
            │      ├─ instances_train2017.json
            │      ├─ instances_val2017.json
            │      └─ ...
            └── images
                ├── train2017
                │   ├─ 000000000001.jpg
                │   └─ ...
                └── val2017

Here is the command I am using:

python -m super_gradients.train_from_recipe \
        --config-name=coco2017_yolo_nas_s \
        dataset_params.train_dataset_params.data_dir=coco \
        dataset_params.train_dataloader_params.batch_size=45 \
        dataset_params.val_dataset_params.data_dir=coco \
        num_gpus=1 \
        multi_gpu=auto

Versions

super-gradients==3.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant