-
-
Notifications
You must be signed in to change notification settings - Fork 16.5k
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
TypeError: dump_all() got an unexpected keyword argument 'sort_keys' #414
Comments
Hello @soumochatterjee, thank you for your interest in our work! Please visit our Custom Training Tutorial to get started, and see our Jupyter Notebook , Docker Image, and Google Cloud Quickstart Guide for example environments. If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you. If this is a custom model or data training question, please note that Ultralytics does not provide free personal support. As a leader in vision ML and AI, we do offer professional consulting, from simple expert advice up to delivery of fully customized, end-to-end production solutions for our clients, such as:
For more information please visit https://www.ultralytics.com. |
@soumochatterjee appears your pyyaml is not up to date. You should follow the Setup instructions in the official notebook. At the same time, removing the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I met the exact same issue, i fixed it by upgrage PyYAML version to > 3.13, not include =3.13 : |
@wwdok thanks for the comment! What environment did you encounter the error in? Perhaps we need to increase the pyYAML requirement. |
@glenn-jocher hi, i run it with latest colab just now, so the environment is the latest colab used. |
@wwdok ok understood. It appears I made a poor design decision in reverting the yaml requirement. It works for me on my Colab, but if it doesn't work on your Colab then it may not work for others either and I should increase the version. I will update requirements.txt with this info. |
@wwdok @seahawks8 PR #2030 is merged, which updates the pyYAML requirement to ==5.4.1. Please git pull to receive this update, and let us know if you run into any other issues. Thank you for your feedback! |
Thanks! It works! |
@bryanbocao glad to hear that it's working for you now! If you have any more questions or run into any other issues, feel free to ask. Happy coding! |
Got this error while running the train.py file in Google Colab
the full link of the notebook is - https://colab.research.google.com/drive/10J3_S3_pjpvh55ZwoBnjK3xyX0zTRSSq?usp=sharing
🐛 Bug
A clear and concise description of what the bug is.
To Reproduce (REQUIRED)
Input:
Output:
Expected behavior
It should start training the model
Environment
I was running it on google colab Gpu
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: