Add LightlyTrain Integration for Pretraining Support#164
Draft
yutong-xiang-97 wants to merge 4 commits intoroboflow:developfrom
Draft
Add LightlyTrain Integration for Pretraining Support#164yutong-xiang-97 wants to merge 4 commits intoroboflow:developfrom
yutong-xiang-97 wants to merge 4 commits intoroboflow:developfrom
Conversation
|
we use a dinov2 pretrained backbone. the comparisons you have in your library are with imagenet-pretrained classifiers, which are much less relevant to the target task. do you have evidence that your approach helps for this model? |
Closed
|
Hi @isaacrob-roboflow! We now also support distilling DINOv3 into RF-DETR backbones. |
|
Ok. Still not useful as our backbone is a DINOv2 plus o365 pretraining. Distilling DINOv3 into that removes the pretraining. |
60b16c1 to
523f9df
Compare
a6e6ca0 to
0485141
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add LightlyTrain Integration for Pretraining Support
LightlyTrain is a novel framework built with PyTorch. It lets you pretrain any computer vision model on your unlabeled data, by leveraging distillation from powerful vision models and using self-supervised learning. With only a few lines of code, the community can pretrain domain-specific backbones for any downstream task with a RF-DETR backbone and beyond. We think pretraining on custom domains is a great addition to the current RF-DETR, which is why we would love to feature our integration to your README.
You can simply start pretraining RF-DETR by:
and fine-tune using the checkpoint by:
You can also check our docs and product page for more details.
Changes
This PR contains
Type of change
How has this change been tested, please provide a testcase or example of how you tested the change?
N/A
Any specific deployment considerations
N/A
Docs