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

int object is not callable. #20

Open
xyzdcgan opened this issue Dec 4, 2018 · 1 comment
Open

int object is not callable. #20

xyzdcgan opened this issue Dec 4, 2018 · 1 comment

Comments

@xyzdcgan
Copy link

xyzdcgan commented Dec 4, 2018

Hello, i am having tensorflow version 1.11.0
i had issue on initialize varaible but solved that issue by modifing to this (tf.global_variables_initializer(), tf.local_variables_initializer()), earlier it had only global initializer.

After that i am having another issue on this line
if(image_tensor.size() == img_sizebatch_sizeimg_layer):
it seems to be issue of size() func but displaying error of "int object is not callable"
i am running in python 3. and have horse2zebra images.

@usmannazir
Copy link

Change image_tensor.size() to image_tensor.size.

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