Closed 11mhg closed 4 years ago
This could be related to strided_slice op, we have a fix for that in upcoming 2.1.0 release.
Sounds good. I will give this a go with 2.1.0.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 dyas if no further activity occurs. Thank you.
Closing as stale. Please @mention us if this needs more attention.
To get help from the community, we encourage using Stack Overflow and the
tensorflow.js
tag.TensorFlow.js version
{ 'tfjs-core': '2.0.1', 'tfjs-backend-cpu': '2.0.1', 'tfjs-backend-webgl': '2.0.1', 'tfjs-data': '2.0.1', 'tfjs-layers': '2.0.1', 'tfjs-converter': '2.0.1', tfjs: '2.0.1', 'tfjs-node': '2.0.1' }
Browser version
N/A, Using Node
Describe the problem or feature request
I have some model in tensorflow python which I have trained and saved as a TF Saved Model using the following line of code:
I can then load the model in python and predict using an arbitrary input size and it works fine in python:
However, once I convert to a tfjs model using this call:
My tfjs model cannot run. It seems as though it is infering incorrect shapes. To be specific, the following happens:
I have no clue what is causing this. Any clue?