Skip to content
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

Unknown op 'EnsureShape' #6077

Closed
caixiaoniweimar opened this issue Jan 26, 2022 · 3 comments
Closed

Unknown op 'EnsureShape' #6077

caixiaoniweimar opened this issue Jan 26, 2022 · 3 comments
Assignees
Labels
type:feature New feature or request

Comments

@caixiaoniweimar
Copy link

caixiaoniweimar commented Jan 26, 2022

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu 1804
  • Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
  • TensorFlow.js installed from (npm or script link): npm
  • TensorFlow.js version: 3.13.0
  • CUDA/cuDNN version: 8.2

Describe the problem
Hello, I am training a deeplab2 panoptic segmentation model without custom code, and use tensorflowjs_converter --input_format=tf_saved_model .... to convert my model to TFJS web model, however, I got the error

Unsupported Ops in the model before Optimization
TensorListResize, EnsureShape, TensorListLength

I am wondering if it is a version thing? At the moment, are these ops not supported? Are there any other ways to convert my model to tfjs without modifying these ops? I need to use this model in NodeRed. Thanks very much! I appreciate any help and hints!
Provide the exact sequence of commands / steps that you executed before running into the problem

Any 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.

@rthadur
Copy link
Contributor

rthadur commented Aug 31, 2022

This has been implemented in #6282 . Closing the request. Thank you

@rthadur rthadur closed this as completed Aug 31, 2022
@AbhisKmr
Copy link

AbhisKmr commented Jan 3, 2023

@rthadur what about the EnsureShape error Im still facing this do you have any suggestions about that?

@AbhisKmr
Copy link

AbhisKmr commented Jan 3, 2023

@caixiaoniweimar How you solve EnsureShape ops error?? Do you have any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants