You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the codes on my computer for python3 and tensorflow-gpu, but I found a trouble that:
stddev=np.sqrt(1.0 / self.latent_dim)),
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'
In fact, the self.latent_dim is defined in the gan.py as a initial for None, Is it a problem for python3? Thanks a lot
The text was updated successfully, but these errors were encountered:
I ran the codes on my computer for python3 and tensorflow-gpu, but I found a trouble that:
stddev=np.sqrt(1.0 / self.latent_dim)),
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'
In fact, the self.latent_dim is defined in the gan.py as a initial for None, Is it a problem for python3? Thanks a lot
You can print latent_dim, and see what type and format it is.
I ran the codes on my computer for python3 and tensorflow-gpu, but I found a trouble that:
stddev=np.sqrt(1.0 / self.latent_dim)),
TypeError: unsupported operand type(s) for /: 'float' and 'NoneType'
In fact, the self.latent_dim is defined in the gan.py as a initial for None, Is it a problem for python3? Thanks a lot
The text was updated successfully, but these errors were encountered: