-
Notifications
You must be signed in to change notification settings - Fork 908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YOLOv8 Training Cell Error Encountered TypeError: unhashable type: 'numpy.ndarray' #317
Comments
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 revived the yolov8 notebooks, verifying that they work from start to end: installing, fetching datasets, training, validating, testing and deploying (where applicable). Closing the issue. |
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?
The text was updated successfully, but these errors were encountered: