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

Dimensions aren`t equal #18

Open
Scx123 opened this issue Apr 19, 2021 · 1 comment
Open

Dimensions aren`t equal #18

Scx123 opened this issue Apr 19, 2021 · 1 comment

Comments

@Scx123
Copy link

Scx123 commented Apr 19, 2021

An error named "ValueError: Dimensions must be equal, but are 513 and 41553 for 'loss/GaussianLogDensity/sub' (op: 'Sub') with input shapes: [16,513], [16,41553]."was occured ,when I run main.py using ConvVAE,VAETrain.Besides,my environment is py36,tf1.2 on cpu.Could you help me fix the problem?Thank you.

@Scx123
Copy link
Author

Scx123 commented Apr 22, 2021

I suspect if tf.layers.conv2d_transpose`s data_format is channels_fist caused dimension being equal in _generator,but Conv2DCustomBackpropInputOp only supports NHWC using cpu.

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