提交 33f4c384 编写于 作者: Z zhangxuefei

Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleHub into develop

export CUDA_VISIBLE_DEVICES=1
export CUDA_VISIBLE_DEVICES=0
CKPT_DIR="./ckpt_sequence_label"
python -u sequence_label.py \
......
export CUDA_VISIBLE_DEVICES=5
export CUDA_VISIBLE_DEVICES=0
# User can select chnsenticorp, nlpcc_dbqa, lcqmc for different task
DATASET="chnsenticorp"
......
export CUDA_VISIBLE_DEVICES=5
export CUDA_VISIBLE_DEVICES=0
CKPT_DIR="./ckpt_20190414203357/best_model"
python -u predict.py --checkpoint_dir $CKPT_DIR --max_seq_len 128
......@@ -90,7 +90,6 @@ class ModuleHelper(object):
class Module(object):
def __init__(self,
name=None,
url=None,
module_dir=None,
signatures=None,
module_info=None,
......@@ -112,8 +111,6 @@ class Module(object):
# TODO(wuzewu): print more module loading info log
if name:
self._init_with_name(name=name)
elif url:
self._init_with_url(url=url)
elif module_dir:
self._init_with_module_file(module_dir=module_dir)
elif signatures:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册