Hello Simone,
sure. SLOGAN is introduced here. 21
Your code with small adaptations (probably not all are needed, I just fiddled around a bit, e.g. I don’t use argparse as I’m on Jupyter, sorry):

  
      gist.github.com
  
  
    https://gist.github.com/t-vi/5fad0a6181eb9485b25b0935396f8687 40
gan_failure_normalization.py
import torch
from PIL import Image
from torch.utils.data import DataLoader
import torchvision
from torchvision import transforms, datasets
from torch.autograd import Variable
import torch.nn as nn
import torch.optim
import torch.backends.cudnn as cudnn; cudnn.benchmark = True

This file has been truncated. show original




  
  
    
    
  
  


Best regards
Thomas