zhangqianhui / progressive_growing_of_gans_tensorflow

Tensorflow implementation of PROGRESSIVE GROWING OF GANS FOR IMPROVED QUALITY, STABILITY, AND VARIATION
MIT License
149 stars 71 forks source link

have a question #3

Open hw654833612 opened 6 years ago

hw654833612 commented 6 years ago

Traceback (most recent call last): File "main.py", line 49, in pggan.build_model_PGGan() File "/media/lembert/DCC2B5B2C2B5916E/Windows_Yunpan_Ubuntu/Lembert_AI/example_TF/PG_GANs/zhangqianhui/PGGAN-tensorflow/PGGAN.py", line 36, in build_modelPGGan , self.D_pro_logits = self.discriminate(self.images, reuse=False, pg = self.pg, t=self.trans, alpha_trans=self.alpha_tra) File "/media/lembert/DCC2B5B2C2B5916E/Windows_Yunpan_Ubuntu/Lembert_AI/example_TF/PG_GANs/zhangqianhui/PGGAN-tensorflow/PGGAN.py", line 243, in discriminate conv = MinibatchstateConcat(conv) File "/media/lembert/DCC2B5B2C2B5916E/Windows_Yunpan_Ubuntu/Lembert_AI/example_TF/PG_GANs/zhangqianhui/PGGAN-tensorflow/ops.py", line 153, in MinibatchstateConcat vals = tf.tile(vals, multiples=[input.shape[0], 4, 4, 1]) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 3797, in tile name=name) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 494, in apply_op raise err TypeError: Expected binary or unicode string, got Dimension(16)

zhangqianhui commented 6 years ago

update your tensorflow to 1.4

zhangqianhui commented 6 years ago

or higher version

zhangqianhui commented 6 years ago

have your solved this error?

hw654833612 commented 6 years ago

Yes I have solved this error. But I don’t use MinibatchstateConcat,because It’s not run.

On 01/18/2018 15:06, JiChao Zhang wrote:

have your solved this error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

hw654833612 commented 6 years ago

Can you add my wechat(huangwei199)? After the exchange can be convenient. I am a PhD student at UESTC.

On 01/18/2018 15:30, Wei Huang wrote: Yes I have solved this error. But I don’t use MinibatchstateConcat,because It’s not run.

On 01/18/2018 15:06, JiChao Zhang wrote:

have your solved this error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

zhangqianhui commented 6 years ago

QQ?

hw654833612 commented 6 years ago

My qq number is 654833612

On 01/19/2018 15:05, JiChao Zhang wrote:

QQ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.