3D-VAE
3D-VAE copied to clipboard
Can't run the code
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?
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.
Try tf 1.14.0 with keras 2.3.0 version it will work and use GPU since conv3d layer requires GPU support