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

Core ML: mlmodel not showing shape of layers #987

Closed
yousifa opened this issue Oct 6, 2022 · 3 comments
Closed

Core ML: mlmodel not showing shape of layers #987

yousifa opened this issue Oct 6, 2022 · 3 comments
Labels

Comments

@yousifa
Copy link

yousifa commented Oct 6, 2022

  • Netron app and version: 6.0.5
  • OS and browser version: MacOS 12.5.1

Steps to Reproduce:

  1. Open Neural Network type mlmodel
  2. No shapes present for any of the layers

Note: shapes appear normally for mlpackage coreml models using "mlprogram" type of neural network

Please attach or link model files to reproduce the issue if necessary.
model.mlmodel.zip

An example model is attached.

@yousifa yousifa added the bug label Oct 6, 2022
@yousifa
Copy link
Author

yousifa commented Oct 6, 2022

To clarify further, I'm talking about the shapes of the inputs / outputs to the layer. I don't see the + sign that usually expands to show the shape.

@lutzroeder lutzroeder changed the title CoreML mlmodel not showing shape of layers Core ML: mlmodel not showing shape of layers Oct 7, 2022
@lutzroeder
Copy link
Owner

Non-mlprogram models often do not store tensor shapes in the model file. The inputs of the activation layers in the attached model include shapes, the other layers do not.

lutzroeder added a commit that referenced this issue Oct 7, 2022
@lutzroeder
Copy link
Owner

Duplicate of #71

@lutzroeder lutzroeder marked this as a duplicate of #71 Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants