lightly-ai / lightly-ai/lightly-train
[FEAT] FFCV implementation for dataset
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 116
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 6
Description
Hello,
thanks for the library! I am using
if __name__ == "__main__":
# Distill the knowledge from a DINOv3 teacher into a YOLOv8 model
lightly_train.pretrain(
out="out/my_experiment",
data="my_data_dir",
model="ultralytics/yolov8s",
method="distillation",
method_args={
"teacher": "dinov3/vitb16",
},
)
However, using a data directory with the images for SSL can be inefficient. Is there a way to implement this using a .beton (from FFCV library) in order to improve training speed?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the lightly_train.pretrain entry point shown in the issue and trace how its data argument is consumed for self-supervised training. Investigate how an FFCV .beton dataset could fit that path; done should mean the feature's scope and supported input behavior are defined, with training-speed improvement assessed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100