progressive_growing_of_gans_tensorflow icon indicating copy to clipboard operation
progressive_growing_of_gans_tensorflow copied to clipboard

what's your tensorflow version?

Open happytaoxiaoli opened this issue 7 years ago • 6 comments

my tensorflow version is 1.3 and i clone your lastest code and has many prombles while running

however ,there is no any problems about your code before

happytaoxiaoli avatar Jun 13 '18 09:06 happytaoxiaoli

I use tensorflow1.4.

zhangqianhui avatar Jun 13 '18 14:06 zhangqianhui

What're the problems?

zhangqianhui avatar Jun 13 '18 14:06 zhangqianhui

at first it tells me that tf has no attribute 'initializer'

after i solve this ,the new problem is File "/home/txl/TF-Projects/GAN/progressive_growing_of_gans_tensorflow/ops.py", line 117, in MinibatchstateConcat vals = tf.tile(vals, multiples=[s[0], s[1], s[2], 1]) File "/home/txl/anaconda2/envs/tf1.3/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 3847, in tile name=name) File "/home/txl/anaconda2/envs/tf1.3/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 493, in apply_op raise err TypeError: Failed to convert object of type <type 'list'> to Tensor. Contents: [Dimension(16), Dimension(4), Dimension(4), 1]. Consider casting elements to a supported type.

so, ,,,

happytaoxiaoli avatar Jun 13 '18 14:06 happytaoxiaoli

You can update tensorflow to version 1.4.

zhangqianhui avatar Jun 13 '18 14:06 zhangqianhui

yes,it works

happytaoxiaoli avatar Jun 14 '18 01:06 happytaoxiaoli

congratulations

zhangqianhui avatar Jun 14 '18 01:06 zhangqianhui