CycleGAN icon indicating copy to clipboard operation
CycleGAN copied to clipboard

int object is not callable.

Open xyzdcgan opened this issue 6 years ago • 1 comments

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.

xyzdcgan avatar Dec 04 '18 09:12 xyzdcgan

Change image_tensor.size() to image_tensor.size.

usmannazir avatar Mar 29 '19 01:03 usmannazir