From fa1e1f261e31eebd3eab37a8ff8999018f96abc8 Mon Sep 17 00:00:00 2001 From: LielinJiang <50691816+LielinJiang@users.noreply.github.com> Date: Fri, 19 Feb 2021 21:35:42 +0800 Subject: [PATCH] fix vgg19 url (#167) --- ppgan/models/criterions/perceptual_loss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppgan/models/criterions/perceptual_loss.py b/ppgan/models/criterions/perceptual_loss.py index 2c57edc..5e19913 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 -- GitLab