Skip to content

Slicing aided fine-tuning #846

Answered by fcakyon
yoloyash asked this question in Q&A
Mar 13, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hello @yoloyash. Here you can find the full training scripts and configs for slicing aided fine-tuning: https://github.com/fcakyon/small-object-detection-benchmark

A sample config is also available for xview dataset (satellite imagery).


For yolov8, you have to slice the coco formatted dataset using this: https://github.com/obss/sahi/blob/main/docs/slicing.md

Then you train your yolov8 model with slices.

Then you perform sliced inference with sahi+yolov8 as in https://colab.research.google.com/github/obss/sahi/blob/main/demo/inference_for_yolov5.ipynb

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@yoloyash
Comment options

@fcakyon
Comment options

@vanguard478
Comment options

Answer selected by fcakyon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants