You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
565 B
19 lines
565 B
1 month ago
|
#!/bin/bash
|
||
|
|
||
|
folderPath=$1
|
||
|
fileName=$2
|
||
|
major=$3
|
||
|
split_size=$4
|
||
|
|
||
|
echo "正在进行文件预处理,请稍后"
|
||
|
python3 step1_pre.py "$folderPath/$fileName" "$major" "$split_size"
|
||
|
echo "文件预处理完成,请查看spilited_ai1文件夹中内容"
|
||
|
|
||
|
echo "现在开始处理AI答案正确检测...第一遍"
|
||
|
i=0
|
||
|
for file in $(ls "$folderPath"/spilited_ai1 | sort -V)
|
||
|
do
|
||
|
echo "启动任务,文件路径是:$folderPath/spilited_ai1/$file"
|
||
|
nohup python3 replace.py "$folderPath" "$folderPath/spilited_ai1/$file" "$i" > /dev/null 2>&1 &
|
||
|
i=$((i+1))
|
||
|
done
|