This repository is set up for evaluating YOLOv8 models on a specific dataset. It includes scripts for running predictions and computing evaluation scores.
Begin by cloning this repository to your local machine. Use the command:
git clone https://github.com/MateoLostanlen/eval_models.git
cd eval_modelspip install -e requirements.txt-
Download the Dataset
Download the datasetDS-71c1fd51-v2from Google Drive:https://drive.google.com/file/d/17syKwltw8Jv-nYlLjzxbXQDd4p9hmkKC/view?usp=sharingUnzip the contents into the
Datadirectory within this repository. -
Download Model Checkpoints
Download the model checkpointscpfrom Google Drive:https://drive.google.com/file/d/10zGvbR0nEvk5mPj7wEn3cHzWmyv4Hlqa/view?usp=sharingUnzip and place the folder in the same
Datadirectory.
Your directory structure should now look like this:
repo-name/
│
└───Data/
│
├───cp/
│
└───DS-71c1fd51-v2/
To compute predictions using the models and dataset, execute the following command:
python run_predictions.pyAfter running predictions, evaluate the results using the Jupyter notebook provided:
jupyter notebook compute_scores.ipynbYou can have a look to predictions erros using fiftyone running:
python fiftyone_create.py