here @ptrblck

File “”, line 1, in 
runfile(’/home/trek/projects/CNN/gans.py’, wdir=’/home/trek/projects/CNN’)
File “/usr/lib/python3/dist-packages/spyder_kernels/customize/spydercustomize.py”, line 678, in runfile
execfile(filename, namespace)
File “/usr/lib/python3/dist-packages/spyder_kernels/customize/spydercustomize.py”, line 106, in execfile
exec(compile(f.read(), filename, ‘exec’), namespace)
File “/home/trek/projects/CNN/gans.py”, line 8, in 
from torchvision.utils import save_image
File “/home/trek/.local/lib/python3.7/site-packages/torchvision/init.py”, line 3, in 
from torchvision import models
File “/home/trek/.local/lib/python3.7/site-packages/torchvision/models/init.py”, line 1, in 
from .alexnet import *
File “/home/trek/.local/lib/python3.7/site-packages/torchvision/models/alexnet.py”, line 1, in 
import torch
File “/home/trek/.local/lib/python3.7/site-packages/torch/init.py”, line 239, in 
from .tensor import Tensor
File “/home/trek/.local/lib/python3.7/site-packages/torch/tensor.py”, line 41, in 
class Tensor(torch._C._TensorBase):
File “/home/trek/.local/lib/python3.7/site-packages/torch/tensor.py”, line 285, in Tensor
“”")
RuntimeError: method ‘detach’ already has a docstring