Open DavidGuamanDavila opened 1 week ago
yes thats, am also facing the same issue, for almost three days, and i tried fixing it but all to no avail
I'm on it. Expect a fix tonight.
running this code in a google colab cell works perfectly, !pip install albumentations==1.4
It might depend on what you install first - ultralytics or albumentations. Did you try installing albumentations after ultralytics, when you're running locally?
The environment in which I was running the notebook was Google Colab. I installed albumentations after Ultralytics, and it worked on Colab I was able to complete my training. I have not tried running the notebook locally.
Reopening, as the problem likely exists in more notebooks. I'll test it out more broadly.
Search before asking
Notebook name
The notebook I am facing this issue with is the YOLOv8 Training Notebook
Bug
When executing the following in cell:
The following is the bug:
It narrows down to this TypeError at the end:
After this, the Custom Training cell terminates.
Environment
Minimal Reproducible Example
To reproduce this issue, just execute the cells of the YOLOv8 Colab Training Notebook found on the Roboflow website. When running all the cells until reaching the Custom Training cell:
Custom Training
The training does not proceed as in previous training sessions I completed with the same YOLOv8 notebook, and the error mentioned above appears and terminates the cell runtime.
Additional
I fixed it by installing
!pip install albumentations==1.4
during the setup before the Cell Training section. I found this solution worked for other users in a Roboflow Discussion and thought it would be beneficial to update the notebook with this change.Are you willing to submit a PR?