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

"Dimension 0 in both shapes must be equal,but are 4 and 3" #37

Open
yan4821567 opened this issue Jun 18, 2020 · 0 comments
Open

"Dimension 0 in both shapes must be equal,but are 4 and 3" #37

yan4821567 opened this issue Jun 18, 2020 · 0 comments

Comments

@yan4821567
Copy link

I run the code with patch '128x128x128', and cuda out of memory. So I change patch size to '20x128x128',and it says that:

ValueError: Dimension 0 in both shapes must be equal, but are 4 and 3. Shapes are [4,16,16] and [3,16,16]. for 'tower0/unet3d/concat' (op: 'ConcatV2') with input shapes: [1,128,4,16,16], [1,128,3,16,16], [] and with computed input tensors: input[2] = <1>.

But when I change patch size to '64x64x64', it works. But I am not sure if this is the best setting.

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