bioinf-jku / TTUR

Two time-scale update rule for training GANs
Apache License 2.0
859 stars 172 forks source link

ValueError: Tensor._shape cannot be assigned, use Tensor.set_shape instead. #7

Open Hhhhhhao opened 6 years ago

Hhhhhhao commented 6 years ago

I'm calculating the mean and std of the training data, and I got the error like this: image

here is my code: image

HRamses commented 6 years ago

Hi! It seems to be the same reason described in the previous issue https://github.com/bioinf-jku/TTUR/issues/6. I finally committed the change suggested by foofighter112. I hope it will work now.