-
Notifications
You must be signed in to change notification settings - Fork 292
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
RuntimeError: don't know how to restore data location of torch.FloatStorage #196
Comments
Update, I have fixed that problem using: But now, I have this just at the start of the training (I have replaced SiLu with ReLu since is not supported):
If needed, this is yolov5 loss script |
Hi @masc-it, thanks for reporting this issue. Can you try our latest release on Pypi to see if you are still experiencing this issue? Also can you share an e2e python script for us to reproduce your error? |
Hi @ryanlai2, I've met the same issue too. When I was running train.py, a runtime error occurred as |
Anyways, @ryanlai2 I have tried the latest pytorch-directml and this is the result now:
Model seems to be correctly loaded though. Edit
|
Hi @masc-it , I'm facing the same issue "unbox expects Dml tensor as inputs" while using Yolov5. Did you find a solution? Thanks. |
nope, here nobody seems interested :/ anyways I tried to run some parts of the yoloV5 loss on CPU and it kinda worked, that means DML lacks some of the operators involved in it. So we can just hope they'll implement more operators in the future. |
Hi, and thanks for posting the issue. We have not taken a look at yolov5 yet, and as such the operators needed to get yolov5 working end-to-end are spotty. |
Hello, do you support YOLOV4? |
below code should work for majority of issues related to " dont know how to restore data location of torch.storage._untype storage ( tagged with gpu)
|
|
Same thing, this really gets me when Microsoft makes it sound like it's so simple to do something and then you do it and it just barfs. |
Hey there, |
I am trying to train Yolov5 using DML and after tweaks in the code to let it use the DML device, I have this error when it tries to load the weights on the GPU:
Loading pretrained weights is not a supported feature..?
The text was updated successfully, but these errors were encountered: