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

Can't run the code #1

Open
Sunghee-SDL opened this issue Sep 14, 2020 · 2 comments
Open

Can't run the code #1

Sunghee-SDL opened this issue Sep 14, 2020 · 2 comments

Comments

@Sunghee-SDL
Copy link

Hello
Thanks for sharing the good code.

But I want to run the code but I get a ValueError.
I ran it all on tensorflow 2.2, 2.1, and 2.0, but it doesn't work.

I used voxel data that I have
The data demension is set to (x, 1, 32, 32, 32).
And I haven't changed the rest at all.

But keep going
ValueError: ('Error when checking model target: expected no data, but got:', array([[[[[-1., -1., -1., ..., -1., -1.," -One.],
[-1., -1., -1., ..., -1., -1., -1.],
[-1., -1., -1., ..., -1., -1., -1.],
...,
[-1., -1., -1., ..., -1., -1., -1.],
[-1., -1., -1., ..., -1., -1., -1.],
[-1., -1., -1., ..., -1., -1., -1.]],

     [[-1., -1., -1., ..., -1., -1., -1.],
      [-1., -1., -1., ..., -1., -1., -1.],
      [-1., -1., -1., ..., -1., -1., -1.],

I get an error like this.
Why is this?

And which version of tensorflow should I use?

@IsaacGuan
Copy link
Owner

Hi, could you try to run it with TensorFlow 1.13.1? This is the version I was using and I didn't test the code with other versions.

@rudransh2004
Copy link

Try tf 1.14.0 with keras 2.3.0 version it will work and use GPU since conv3d layer requires GPU support

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

3 participants