未验证 提交 fa1e1f26 编写于 作者: L LielinJiang 提交者: GitHub

fix vgg19 url (#167)

上级 41eb09fb
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册