Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shijianjian committed Sep 4, 2024
1 parent d6268f0 commit 8764caa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kornia/contrib/models/rt_detr/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def from_config(config: RTDETRConfig) -> RTDETR:
model.load_checkpoint(config.checkpoint)
return model

@staticmethod
def from_pretrained(model_name: str) -> RTDETR:
"""Load model from pretrained weights.
Expand Down

0 comments on commit 8764caa

Please sign in to comment.