-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
A TensorFlow fully convolutional model with no fixed input size cannot run properly in TensorFlow.js. #7960
Labels
Comments
Hi, @OysterQAQ Thank you for bringing this issue to our attention and I was trying to replicate the same issue with tfjs-model which you provided in the issue template and I'm also getting same error which you mentioned above so we'll have to dig more into this issue and will update you soon. Thank you! For your reference I have added error log output :
|
Is there any progress? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information
Describe the current behavior
When converting a TensorFlow SavedModel to a tfjs model using tensorflowjs_converter and running it on [email protected], I encountered the following errors:
Uncaught (in promise) Error: Incompatible shape during merge: 1,76,282,64 vs. 1,260,1084,64
In versions 4.4.0 to 4.11.0, I received the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'backend')
The original model is a fully convolutional model with no fixed input dimensions, designed for image super-resolution. It runs well on TensorFlow. You can find the specific code at https://github.com/OysterQAQ/ACG2vec-model/blob/master/real-cugan_tf/upcunet_v3_tfjs.py.
SavedModel.zip
tfjs_model.zip
Describe the expected behavior
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/CodePen/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered: