diff --git a/ppgan/models/criterions/perceptual_loss.py b/ppgan/models/criterions/perceptual_loss.py index 2c57edc46590eff3cac358c22694aa91567f3ad5..5e19913897d0a21f98c6bafa24a2ae0ddf1cf20b 100644 --- a/ppgan/models/criterions/perceptual_loss.py +++ b/ppgan/models/criterions/perceptual_loss.py @@ -120,7 +120,7 @@ class PerceptualLoss(nn.Layer): perceptual_weight=1.0, style_weight=1.0, norm_img=True, - pretrained='https://paddlegan.bj.bcebos.com/model/vgg19.pdparams', + pretrained='https://paddlegan.bj.bcebos.com/models/vgg19.pdparams', criterion='l1'): super(PerceptualLoss, self).__init__() # when loss weight less than zero return None