fix: fix bug
This commit is contained in:
parent
30e006ccac
commit
774de28057
|
@ -1,12 +1,6 @@
|
|||
[
|
||||
"保持健康的三个提示。",
|
||||
"三原色是什么?",
|
||||
"描述原子的结构。",
|
||||
"如何减少空气污染?",
|
||||
"描述一次你不得不做出困难决定的经历。",
|
||||
"辨认不同之处。 ",
|
||||
"解释为什么以下分数等同于1/4",
|
||||
"渲染一座房子的三维模型",
|
||||
"朱利叶斯·凯撒是如何死亡的?",
|
||||
"法国的首都是什么?"
|
||||
"渲染一座房子的三维模型"
|
||||
]
|
|
@ -9,13 +9,6 @@ echo "gpu_cnt: ${gpu_cnt}"
|
|||
|
||||
current_datetime=$(date +%Y%m%d%H%M%S)
|
||||
|
||||
if [ "${gpu_cnt}"="8" ]; then
|
||||
run_name_gpu_cnt="多卡"
|
||||
|
||||
else
|
||||
run_name_gpu_cnt="单卡"
|
||||
fi
|
||||
|
||||
model_path=""
|
||||
model_name=""
|
||||
result_folder_name=""
|
||||
|
@ -49,7 +42,7 @@ echo "model_name: ${model_name}"
|
|||
echo "result_folder_name: ${result_folder_name}"
|
||||
|
||||
|
||||
run_name="昇腾310p_推理_${model}_${run_name_gpu_cnt}_${current_datetime}"
|
||||
run_name="310p_inference_${model}_${gpu_cnt}_npu_${current_datetime}"
|
||||
|
||||
output_dir="./results/${run_name}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue