-
Notifications
You must be signed in to change notification settings - Fork 681
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
Warning: Encountered Known unsupported method torch.tensor & torch.Tensor.expand & torch.Tensor.get_device #358
Comments
I think you should write a plugin for Torch.tensor because there might be some new tensors initialized in your model.py. I met the same problem when I was writing the plugin for torch.new_empty. You can try to write a plugin with the tensorrt interfaces provided here. |
I think you should write a plugin for Torch.tensor because there mightbe some new tensors initialized in your model.py. I met the same problem when I was writing the plugin for torch.new_empty. You can try to write a plugin with the tensorrt interfaces provided here. |
Hello @czs1886 iam a nwe bies. I also met the same problem. but i dont understand you idea. could u explain for me more clearly |
for me. I just met the problem: Warning: Encountered known unsupported method torch.Tensor.expand_as . |
This is a very good approach, thanks for the answer |
Warning: Encountered Known unsupported method torch.tensor & torch.Tensor.expand & torch.Tensor.get_device
I have confirmed that there is no problem with the versions of Torch, Cuda, and Tensorrt.
but, after checking it, the weight is not converted properly and the object detection ability is reduced.
I think that warning is suspected when convert to weight, can you tell me how to solve it?
The text was updated successfully, but these errors were encountered: