【模型】Bert base
【修改说明】cluner支持SDK、mxbase推理 【验证结果】容器中推理 OK 【修改人】chenshushu 【评审人】
This commit is contained in:
parent
0edb6d0855
commit
e2635f0ef6
|
@ -127,7 +127,7 @@ def get_all_path(output_path):
|
|||
token_path = os.path.join(output_path, "02_data")
|
||||
label_path = os.path.join(output_path, "03_data")
|
||||
for path in [ids_path, mask_path, token_path, label_path]:
|
||||
os.makedirs(path, 0o755)
|
||||
os.makedirs(path, 0o755, exist_ok=True)
|
||||
|
||||
return ids_path, mask_path, token_path, label_path
|
||||
|
||||
|
|
Loading…
Reference in New Issue