pggan-pytorch
pggan-pytorch copied to clipboard
Error in trainer.py with indentation
I am executing in windows and get this error
C:\Users\admin\Documents\pggan-pytorch-master\pggan-pytorch-master>python3 trainer.py
File "trainer.py", line 270
loss_d = self.mse(self.fx.squeeze(), self.real_label) + \
^
TabError: inconsistent use of tabs and spaces in indentation
I try with git clone and also in Linux and this problem is there.
me too how to make it?
@mcanet
I get the same. How can I solve it?
You need to replace all tabs with spaces. in vim: :%s/\t/ /g