Closed buncis closed 5 years ago
when trying to run 1. Vanilla GAN PyTorch.ipynb on my laptop I got this error
1. Vanilla GAN PyTorch.ipynb
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-69-81fdb6b15e61> in <module>() 19 g_error = train_generator(g_optimizer, fake_data) 20 # Log error ---> 21 logger.log(d_error, g_error, epoch, n_batch, num_batches) 22 23 # Display Progress ~/gans/utils.py in log(self, d_error, g_error, epoch, n_batch, num_batches) AttributeError: 'function' object has no attribute 'Variable'
Same Problem here
See my edits here: https://github.com/diegoalejogm/gans/pull/5
Fixed as proposed by @economy
when trying to run
1. Vanilla GAN PyTorch.ipynb
on my laptop I got this error