You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for this great work. I would like to ask something about the Qualcomm deployment of cycleGan-turbo. I wonder if you have done it and can provide some experience:
Do you encounter errors when converting Unet to DLC models?(The dlcs of the other three modules run correctly),The following are the problems that occurred when Unet tried different solutions:
(1) When using snpe-adapted pytorch version 1.13.1:
it is found that if the model is directly converted to onnx, a prompt will appear that the operator is not supported:
Exporting the operator 'aten::scaled_dot_product_attention' to ONNX opset version 14 is not supported
(2) Upgrade torch, onnx and other libraries to the latest version:
The model can be successfully transferred to onnx, but an error will be reported when transferring to dlc:
ValueError: input_dim command input name(s) not found: input_0, input_1, input_2
(3)I used your model and your image scale to test, but the test results are wrong and the color of the picture is abnormal.
(4)Without onnx, use pt file to convert dlc, and core dump will occur when running
Have you encountered any of these problems? Any suggestions how to fix this? Thank you very much~
Thank you very much for this great work. I would like to ask something about the Qualcomm deployment of cycleGan-turbo. I wonder if you have done it and can provide some experience:
Do you encounter errors when converting Unet to DLC models?(The dlcs of the other three modules run correctly),The following are the problems that occurred when Unet tried different solutions:
(1) When using snpe-adapted pytorch version 1.13.1:
it is found that if the model is directly converted to onnx, a prompt will appear that the operator is not supported:
Exporting the operator 'aten::scaled_dot_product_attention' to ONNX opset version 14 is not supported
(2) Upgrade torch, onnx and other libraries to the latest version:
The model can be successfully transferred to onnx, but an error will be reported when transferring to dlc:
ValueError: input_dim command input name(s) not found: input_0, input_1, input_2
(3)I used your model and your image scale to test, but the test results are wrong and the color of the picture is abnormal.
(4)Without onnx, use pt file to convert dlc, and core dump will occur when running
Have you encountered any of these problems? Any suggestions how to fix this? Thank you very much~
my unet model:
input_data = (
torch.randn([1, 4, 128, 128]),
torch.randint(0, 1000, [1], dtype=torch.int32),
torch.randn([1, 77, 1024]),
)
The text was updated successfully, but these errors were encountered: