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

RangeError: Offset is outside the bounds of the DataView #563

Closed
lutzroeder opened this issue Jul 31, 2020 · 6 comments
Closed

RangeError: Offset is outside the bounds of the DataView #563

lutzroeder opened this issue Jul 31, 2020 · 6 comments

Comments

@lutzroeder
Copy link
Owner

Please provide steps or model files to reproduce this issue.

@steven0129
Copy link

Same Issue

@lutzroeder
Copy link
Owner Author

@steven0129 can you share the model file to reproduce the issue?

@steven0129
Copy link

@lutzroeder The problem seems to have been gone for now.

@TomWildenhain-Microsoft

model.json from:
https://tfhub.dev/tensorflow/tfjs-model/posenet/mobilenet/float/075/1/default/1
will reproduce (expand the filter weight of the first conv)

image

@lutzroeder
Copy link
Owner Author

lutzroeder commented Sep 21, 2021

@TomWildenhain-Microsoft this seems to be a corrupt model file. After extracting posenet_mobilenet_float_075_1_default_1.tar all files are compressed in Gzip format even though the file extensions suggest otherwise. Can you clarify this with the model author?

lutzroeder added a commit that referenced this issue Sep 21, 2021
@TomWildenhain-Microsoft

Yep the weights are gzip compressed. There are actually a lot of tfjs models on tfhub with gzip compression, even on .json files. I didn't make the model. I have no idea why Google likes to do it this way. It's fine with me if Netron doesn't handle these ones, just posting since the dialog box requested it.

@lutzroeder lutzroeder closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants