This repository contains the code for the LearnOpenCV blog post Fine Tuning YOLOv7.
We train YOLOv7 and YOLOv7-Tiny models on a custom pothole detection dataset.
-
The
jupyter_notebook
directory contains the Jupyter Notebook which will run end-to-end with one click. If you have Ubuntu, you can run it locally. Else, you may also upload it to Colab and run it. The notebook will train four different models for different experiments. -
The four training experiments are:
- Fine tuning YOLOv7 with fixed resolution images.
- Fine tuning YOLOv7 with multi-resolution images.
- Fine tuning YOLOv7-Tiny with fixed resolution images.
- Fine tuning YOLOv7-Tiny with multi-resolution images.
Download the trained weights from here.
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.