This repository contains a set of Python scripts that perform the following tasks:
- Download the VisDrone dataset using the provided YAML configuration file from the Ultralytics YOLOv11 repository.
- Fine-tune the YOLOv11s model on the VisDrone dataset.
- Compare and evaluate the results before and after fine-tuning.
This setup is useful for anyone interested in experimenting with drone-based object detection using the latest YOLOv11 models.
Main required modules:
ultralytics- which includes
torch,opencv,numpyand more
- which includes
All dependencies are listed in pyproject.toml
Option 1: Using Poetry
This project uses Poetry for dependency management.
To install dependencies, first make sure Poetry is installed, then run:
poetry installOption 2: Using pip
pip install $(poetry export --without-hashes --format=requirements.txt)1️⃣ Download Dataset
- Run the
datasets/download_visDrone_dataset.py
2️⃣ Fine-Tune YOLOv11s (Optional)
- Run the
train_11s.py
3️⃣ Run Object Tracking
python3 main.py
or
poetry run python3 main.py- Train graphs over 100 epochs
- Confusion Matrix of the Newly Trained 11s model


