未验证 提交 f1f67cfe 编写于 作者: K Kennycao123 提交者: GitHub

Merge pull request #812 from Kennycao123/ernie-kit-open-v1.0

change file name
#!/bin/bash
# set -x
export ALL_TRAINERS_SAVE=1
export CUDA_VISIBLE_DEVICES=5
export CUDA_VISIBLE_DEVICES=0
# step 1
python run_trainer.py --param_path ./examples/cls_ernie_fc_ch.json
(($?!=0)) && echo "Something goes wrong at Step 1, please check" && exit -1
......
# -*- coding: utf-8 -*
"""import"""
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
import os
import numpy as np
from erniekit.common.register import RegisterSet
......
# -*- coding: utf-8 -*
"""import"""
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
import os
from erniekit.common.register import RegisterSet
from erniekit.common import register
......
......@@ -3,7 +3,7 @@
import os
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
import numpy as np
from erniekit.common.register import RegisterSet
from erniekit.common import register
......
......@@ -3,7 +3,7 @@
import os
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
from erniekit.common.register import RegisterSet
from erniekit.common import register
......
......@@ -3,7 +3,7 @@
ErnieFcSeqLabel
"""
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
import paddle
import re
from erniekit.common.register import RegisterSet
......
......@@ -2,7 +2,7 @@
"""import"""
import os
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
import numpy as np
from erniekit.common.register import RegisterSet
from erniekit.common import register
......
......@@ -2,7 +2,7 @@
"""import"""
import os
import sys
sys.path.append("../../../../")
sys.path.append("../../../")
from erniekit.common.register import RegisterSet
from erniekit.common import register
import logging
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册