提交 db46dbd8 编写于 作者: C cuicheng01

Update save_load.py

上级 0c63f64b
...@@ -54,7 +54,7 @@ def load_dygraph_pretrain(model, path=None): ...@@ -54,7 +54,7 @@ def load_dygraph_pretrain(model, path=None):
return return
def load_dygraph_pretrain_from_url(model, pretrained_url, use_ssld): def load_dygraph_pretrain_from_url(model, pretrained_url, use_ssld=False):
if use_ssld: if use_ssld:
pretrained_url = pretrained_url.replace("_pretrained", pretrained_url = pretrained_url.replace("_pretrained",
"_ssld_pretrained") "_ssld_pretrained")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册