-
Notifications
You must be signed in to change notification settings - Fork 50
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
convert squeezewave model to pytorch script for C++ inference. #7
Comments
You might try to use the script used to convert torch to onnx provided for WaveGlow, I tried before but fail to convert the onnx to caffe2. |
I try to export the model to onnx, but always got "of traced region did not have observable data dependence with trace inputs". Then I read the script used to convert torch to onnx provided for WaveGlow. I rewrite the script to handle squeezewave model, but failed. I think I mess the depthwise pointwise conv1d to conv2d. Can you give some suggestions? |
Yes, that's the problem with pytorch , models are very difficult to convert to onnx/caffe or torch script. |
@alokprasad why? Doesn't torch now have native methods to export ONNX models? |
Any idea how to convert squeezewave model to pytorch script and relevant c++ code
for loading and inferencing from same.
The text was updated successfully, but these errors were encountered: