-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Search before asking
- I have searched the RF-DETR issues and found no similar feature requests.
Description
The ability to set the backbone to be frozen for finetuning. something like freeze_backbone=True in model.train args e.g.
model.train(
dataset_dir="",
freeze_backbone=True,
)
Use case
Specifically this would be useful for training very large models on consumer gpu hardware but also to prevent overfitting on smaller datasets. The logic here being the object365 pretraining can create generalized features for object detection and we just adapt the object detection neck and head for the downstream task.
If it works we could potentially train more generalized models on small dataset (sacrificing better metrics for generalization)
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request