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

ValueError problem #4

Open
Qudagang opened this issue Mar 13, 2019 · 1 comment
Open

ValueError problem #4

Qudagang opened this issue Mar 13, 2019 · 1 comment

Comments

@Qudagang
Copy link

When I input the folder which is full of binvox format files as input paths,
The when run the code train.py
The system show that:
ValueError: Tried to convert 'reduction_indices' to a tensor and failed. Error: Argument must be a dense tensor: range(0, 1) - got shape [1], but wanted [].

I tried a lot times I have not deal with it

@maxorange
Copy link
Owner

Hi, Qudagang
This is Python3 compatibility issue. I found solution here:
tensorflow/models#3705 (comment)

But, a faster way to deal with this problem is to use Python2.

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

2 participants