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

Problem with convert.py #16

Open
Hendry2182 opened this issue Jun 30, 2020 · 0 comments
Open

Problem with convert.py #16

Hendry2182 opened this issue Jun 30, 2020 · 0 comments

Comments

@Hendry2182
Copy link

Hi Jeremy, I am running convert.py and get this error:
InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [7,1,1,16] rhs shape= [7,1,513,16]
[[Node: save/Assign_1 = Assign[T=DT_FLOAT, _class=["loc:@Encoder/Conv2d-0/Conv2d-0/kernel"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Encoder/Conv2d-0/Conv2d-0/kernel, save/RestoreV2_1)]]

It is because I use CPU, so I change all the NCHW to NHWC to support CPU version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant