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 

 

posted on 2017-12-06 16:04  Maddock  阅读(2052)  评论(0编辑  收藏  举报

导航