Error computing NN outputs
Setup: coremltools3.0b3, python 3.7.3 , MacOS 10.15, with Xcode12 beta installed, convertion of Tacotron model.
I converted the text-to-speech model which using the last coremltools beta, but when I try to call predict on that model, the following error is thrown:
Traceback (most recent call last):
File "infer.py", line 26, in <module>
predictions = model.predict(data, usesCPUOnly=True)
File "/Users/adilettuleuov/.pyenv/versions/3.7.3/lib/python3.7/site-packages/coremltools/models/model.py", line 331, in predict
return self.__proxy__.predict(data,useCPUOnly)
RuntimeError: {
NSLocalizedDescription = "Error computing NN outputs.";
}
Any hints on how to debug the error? Also, I can't call visualize_spec function because infer_shapes for (gather, loadConstantND ) is not implemented.
We would need to look at the model to find the cause of the error. Can you either attach the model, script for conversion or file a bug? Thank you.
Here is the converted model: https://drive.google.com/drive/folders/1FN6MvFTHpwE3Do9Za7DYbwL5u3sjdxur?usp=sharing Original tensorflow model: https://github.com/keithito/tacotron
Here is the converted model: https://drive.google.com/drive/folders/1FN6MvFTHpwE3Do9Za7DYbwL5u3sjdxur?usp=sharing Original tensorflow model: https://github.com/keithito/tacotron
Could you also share your convert script? We'll look into it. Thanks!
I guess Upsamle / Resize has this issue when usesCPUOnly=false. When i turn usesCPUOnly as true, no error occurs.
I'm going to close this issue since we have not received the requested information. @adilnaut - feel free to provide your conversion script and reopen this issue.
I have this error now. would some one help me?
We would need to look at the model to find the cause of the error. Can you either attach the model, script for conversion or file a bug? Thank you.
i have this error now, could help me?
@universalwow - does it still happen in the latest version of coremltools? Can you give us steps to reproduce the issue?
Hey @adilnaut, how did you trace the Tacotron model? Doesn't seem possible because of LSTM layer. Would be very helpful to know your approach.
Thanks, Rahul Bhalley