# Classify Agricultural Pests | Complete YOLOv8 Classification Tutorial

 For anyone studying **Image Classification Using YoloV8 Model on Custom dataset | classify Agricultural Pests**

This tutorial walks through how to prepare an agricultural pests image dataset, structure it correctly for YOLOv8 classification, and then train a custom model from scratch. It also demonstrates how to run inference on new images and interpret the model outputs in a clear and practical way.

This tutorial composed of several parts :

🐍Create Conda enviroment and all the relevant Python libraries .

🔍 Download and prepare the data : We'll start by downloading the images, and preparing the dataset for the train

🛠️ Training : Run the train over our dataset

📊 Testing the Model: Once the model is trained, we'll show you how to test the model using a new and fresh image

**Video explanation**: [https://youtu.be/--FPMF49Dpg](https://youtu.be/--FPMF49Dpg)

**Link to the post for Medium users** : [https://medium.com/image-classification-tutorials/complete-yolov8-classification-tutorial-for-beginners-ad4944a7dc26](https://medium.com/image-classification-tutorials/complete-yolov8-classification-tutorial-for-beginners-ad4944a7dc26)

**Written explanation with code**: [https://eranfeit.net/complete-yolov8-classification-tutorial-for-beginners/](https://eranfeit.net/complete-yolov8-classification-tutorial-for-beginners/)  
  

This content is provided for educational purposes only. Constructive feedback and suggestions for improvement are welcome.

Eran Feit
