Skip to content

a little wrong in readme #241

@NOTGOOOOD

Description

@NOTGOOOOD

Thank you for your great work !

When I tried to predict a image following the guidance, a mistake occurred in here. Because optimize_for_inference doesn't return any, the value of model will be None after the assignment.

I guess the correct way should as below

model = RFDETRBase()
model.optimize_for_inference()

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