Skip to content

Loading pretrain weights give bad result #258

@Sunirban-Sarkar

Description

@Sunirban-Sarkar

Search before asking

  • I have searched the RF-DETR issues and found no similar bug report.

Bug

After training model saved two checkpoints files regular and ema. But when I again load those weights back for inference the results are bad or different. Can someone help?

Environment

RF-DETR 1.1.0
OS Ubuntu 22.04 LTS
Python 3.10.18
Pytorch 2.7.1+cu128
Cuda 12.8
GPU RTX A5000

Minimal Reproducible Example

Just load weight and try inference

Additional

No response

Are you willing to submit a PR?

  • Yes, I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions