-
Notifications
You must be signed in to change notification settings - Fork 32
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 #2
Comments
get_batch_y has three dimensions. You may try the following: print((get_batch_y.shape[0], get_batch_y.shape[1], get_batch_y.shape[2], 1)). |
Only when batch size 1, no error occurs... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in grayimage/mainimprovement.py , the following error occurs..
get_batch_y = get_batch_y.astype('float32')/255.0
ValueError: setting an array element with a sequence.
I tried printing out 'get_batch_y' and found that its getting only the batch size and no other information.
get_batch_y.shape = (20,)
type(get_batch_y) = np.array
Do you know any possible solution for these problems?
The text was updated successfully, but these errors were encountered: