eriklindernoren / PyTorch-GAN

PyTorch implementations of Generative Adversarial Networks.
MIT License
16.41k stars 4.07k forks source link

NameError: name 'FeatureExtractor' is not defined #53

Open dcwisahn opened 5 years ago

dcwisahn commented 5 years ago

When evaluating the ESRGAN and SRGAN I can see that the class FeatureExtractor() is not defined anywhere. I can see latest commit is 13 days ago, so I assume you are currently working on implementing these models?

tkilpu commented 5 years ago

from radiomics import featureextractor try this command before using featureextractor, this will work.

chenyang1999 commented 5 years ago

class FeatureExtractor() is defined in models which can provide a Perceptual loss by vgg19_54