sh脚本循环

sh for循环

for File in 1 2 3 4 5
do
    echo $File
done

sh for多重循环

for image_size_input in 160 140 120 100 80
do
    echo $image_size_input
    for depth_multiplier_input in 1 0.75 0.50 0.25
    do
        echo $depth_multiplier_input
    done
done 

sh python输入参数

for image_size_input in 160 140 120 100 80
do
    python train.py 
    --image_size $image_size_input
    --batch_size 5 
done 
原文地址:https://www.cnblogs.com/adong7639/p/7993206.html