# \[solved\] YOLOv8 Classification with Google Colab having trouble with training

**URL:** <https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336>\
**Category:** 🤝  Community Help\
**Created:** [June 26, 2024, 8:52pm UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336 "2024-06-26T20:52:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anseriformes](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/anseriformes/32/4960_2.png) [@anseriformes](https://discuss.roboflow.com/u/anseriformes)\
**Post date:** [June 26, 2024, 8:52pm UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336/1 "2024-06-26T20:52:08Z")

</div>

Hi everyone,

I’m currently using Roboflow’s YOLOv8 Google Colab to do classification of some images into two categories. [Google Colab link:](https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolov8-classification-on-custom-dataset.ipynb)  
I haven’t touched any of the code besides just importing my data from Roboflow where I’m supposed to, and I’m getting this error when I try to train my data:

 ![Screenshot 2024-06-26 164943](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/a/ab37f2d8f2b1a06620e9b37ed49a5afa37ac9458.png)  
It’s also telling me “FileNotFoundError: Couldn’t find any class folder in /content/datasets/Earplugs-Classification-2/train.”

Does anyone know what might be causing this error? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [June 27, 2024, 4:21pm UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336/3 "2024-06-27T16:21:28Z")

</div>

Hey @anseriformes

I’m glad your issue got solved. Could you share what the issue was so you can help other people experiencing this issue?

---

<div class="post-metadata">

**Author:** ![anseriformes](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/anseriformes/32/4960_2.png) [@anseriformes](https://discuss.roboflow.com/u/anseriformes)\
**Post date:** [July 1, 2024, 1:06pm UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336/4 "2024-07-01T13:06:42Z")

</div>

Yep, I had clicked the csv option while exporting my data from Roboflow instead of the file structure option  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/1/165794ac05353b16d27964fceedb8043445d9a96.png)

---

<div class="post-metadata">

**Author:** ![leo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/leo/32/2228_2.png) [@leo](https://discuss.roboflow.com/u/leo)\
**Post date:** [July 2, 2024, 12:22am UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336/5 "2024-07-02T00:22:26Z")

</div>

Glad your issue got solved and thanks for sharing!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [July 9, 2024, 12:23am UTC](https://discuss.roboflow.com/t/solved-yolov8-classification-with-google-colab-having-trouble-with-training/6336/6 "2024-07-09T00:23:18Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
