Skip to content

Evaluation Results Are Very Low Only in --eval-only Mode (AP=0.0), But Normal During Training #140

@GuanyuChen8

Description

@GuanyuChen8

Hi, I’m training OneFormer for instance segmentation on a custom COCO-format dataset with two classes .

Everything works fine during training — the periodic evaluation shows reasonable AP values . However, when I run:

python train_net.py --config-file path/to/config.yaml --eval-only MODEL.WEIGHTS path/to/model_final.pth

I get extremely low (or 0.0) AP values across the board:

Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.000
...
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = -1.000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions