-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
torch 1.4 error - RuntimeError: Failed to register operator torchvision::_new_empty_tensor_op. #148
Comments
Hello @ChargedMonk, 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. |
@ChargedMonk yes I see this also. We pushed a commit today to allow torch>=1.4 But perhaps this was a bad decision. I will revert this to the original torch>=1.5 requirement. |
@Lornatang I think the recent PR #143 may not work correctly. See @ChargedMonk's issue above. |
@glenn-jocher I tried it on this machine and found no errors. |
@glenn-jocher @ChargedMonk This failed It is because of the mismatch of torchvision, I will add a PR to ensure that the Torch and Torchvision versions correspond. it's my mistake. More details see: pytorch/vision#1827 and pytorch/vision#1827 (comment) |
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. |
The latest commit in the requirements.txt stating support for torch 1.4 gives the following error when detect.py is run
The text was updated successfully, but these errors were encountered: