"tests/pipelines/pia/test_pia.py" did not exist on "65ef7a0c5c594b4f84092e328fbdd73183613b30"
inception_v3.sh 623 Bytes
Newer Older
sunxx1's avatar
sunxx1 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash


set -x

mkdir -p log
now=$(date +"%Y%m%d_%H%M%S")

isperf=$1
output_json=$2
gpu=$3

py_file="perf.py"
echo $isperf
if [ $isperf == 0 ]
then
    py_file="main.py"
fi

echo "python -m torch.distributed.run --nproc_per_node ${gpu} ${py_file} --config configs/inception.yaml --output ${output_json}"

# srun --exclusive python -u ${py_file} --config configs/inception.yaml --output ${output_json} \
# 2>&1 | tee log/train_inceptionv3.log-$now

python -m torch.distributed.run --nproc_per_node ${gpu} ${py_file} --config configs/inception.yaml --output ${output_json} 2>&1 | tee tee log/train_inceptionv3.log-$now