diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p.sh index 818840d87d76b98e47a903533f682836a5a2c743..33b78fb6ce75a239887c887848aabcf9c8407adb 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python ../main.py \ +nohup python3.7 ../main.py \ --root_path ${root_path} \ --gpu_or_npu gpu \ --use_prof 1 \ @@ -16,7 +16,7 @@ nohup python ../main.py \ --batch_size 80 \ --n_threads 16 \ --ft_portion complete \ - > ${root_path}results/gpu_train_full_1p.log 2>&1 & + > ${root_path}/results/gpu_train_full_1p.log 2>&1 & diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p_withgroup.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p_withgroup.sh index 565a1ed73489f7ec9185abffdcd98af0e5d1339d..51b850020a89650d5cc326cc92c9b267a62fc5cd 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p_withgroup.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_1p_withgroup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python ../main.py \ +nohup python3.7 ../main.py \ --root_path ${root_path} \ --gpu_or_npu gpu \ --use_prof 1 \ @@ -16,7 +16,7 @@ nohup python ../main.py \ --n_threads 16 \ --pretrain_path pretrain/kinetics_mobilenetv2_1.0x_RGB_16_best.pth \ --ft_portion last_layer \ - > ${root_path}results/gpu_train_full_1p_withgroup.log 2>&1 & + > ${root_path}/results/gpu_train_full_1p_withgroup.log 2>&1 & diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p.sh index 9f81ccc9c833f6b0be2cccb8f2ba8d86bcf40beb..0286d7b6407c4af61117d5649dc7255272a9789f 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python -m torch.distributed.launch --nproc_per_node 8 ../main.py \ +nohup python3.7 -m torch.distributed.launch --nproc_per_node 8 ../main.py \ --root_path ${root_path} \ --gpu_or_npu gpu \ --use_prof 0 \ @@ -16,4 +16,4 @@ nohup python -m torch.distributed.launch --nproc_per_node 8 ../main.py \ --batch_size 640 \ --n_threads 64 \ --ft_portion complete \ - > ${root_path}results/gpu_train_full_8p.log 2>&1 & + > ${root_path}/results/gpu_train_full_8p.log 2>&1 & diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p_withgroup.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p_withgroup.sh index 088d6f688fff6a0c482e2d31e5b8ae277cf945d2..f36c5efed83fdea7fa0f8f179d5578be5449f89b 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p_withgroup.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/gpu_train_full_8p_withgroup.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python -m torch.distributed.launch --nproc_per_node 8 ../main.py \ +nohup python3.7 -m torch.distributed.launch --nproc_per_node 8 ../main.py \ --root_path ${root_path} \ --gpu_or_npu gpu \ --use_prof 0 \ diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_1p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_1p.sh index 1c70f9bb54395c55926710965d8c72c395e7da9c..17b06a389225a6b971d4768dd692b2a5063ff232 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_1p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_1p.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python ../main.py \ +nohup python3.7 ../main.py \ --root_path ${root_path} \ --gpu_or_npu npu \ --use_prof 1 \ @@ -16,7 +16,7 @@ nohup python ../main.py \ --batch_size 80 \ --n_threads 16 \ --ft_portion complete \ - > ${root_path}results/npu_train_full_1p.log 2>&1 & + > ${root_path}/results/npu_train_full_1p.log 2>&1 & diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_8p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_8p.sh index 040d38c5d32ceda0cb63955dfa1a7f82266b17cb..cc344cf943cfce8c6a0a58ae25fbc5ec581eee8c 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_8p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_full_8p.sh @@ -10,7 +10,7 @@ KERNEL_NUM=$(($(nproc)/8)) PID_START=$((KERNEL_NUM * RANK_ID)) PID_END=$((PID_START + KERNEL_NUM - 1)) -nohup taskset -c $PID_START-$PID_END python ../main.py --local_rank $RANK_ID \ +nohup taskset -c $PID_START-$PID_END python3.7 ../main.py --local_rank $RANK_ID \ --root_path ${root_path} \ --gpu_or_npu npu \ --use_prof 0 \ @@ -25,5 +25,5 @@ nohup taskset -c $PID_START-$PID_END python ../main.py --local_rank $RANK_ID \ --batch_size 640 \ --n_threads 64 \ --ft_portion complete \ - > ${root_path}results/npu_train_full_8p.log 2>&1 & + > ${root_path}/results/npu_train_full_8p.log 2>&1 & done \ No newline at end of file diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_1p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_1p.sh index aa8eb9b94738afbdf8e4dd6a4763e94a3cd563dd..49773c1153c233ad3bbbf5839abadb11d62a7bc1 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_1p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_1p.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash root_path=$1 -nohup python ../main.py \ +nohup python3.7 ../main.py \ --root_path ${root_path} \ --gpu_or_npu npu \ --use_prof 1 \ @@ -16,7 +16,7 @@ nohup python ../main.py \ --batch_size 80 \ --n_threads 16 \ --ft_portion complete \ - > ${root_path}results/npu_train_performance_1p.log 2>&1 & + > ${root_path}/results/npu_train_performance_1p.log 2>&1 & diff --git a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_8p.sh b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_8p.sh index 30a97385ebcacf14fc092b5167edf6c4e4293d0f..ad27280e186819eedf1dd9a58383e62a9ba1062c 100644 --- a/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_8p.sh +++ b/PyTorch/contrib/cv/classification/Efficient-3DCNNs_ID1230_for_PyTorch/test/npu_train_performance_8p.sh @@ -10,7 +10,7 @@ KERNEL_NUM=$(($(nproc)/8)) PID_START=$((KERNEL_NUM * RANK_ID)) PID_END=$((PID_START + KERNEL_NUM - 1)) -nohup taskset -c $PID_START-$PID_END python ../main.py --local_rank $RANK_ID \ +nohup taskset -c $PID_START-$PID_END python3.7 ../main.py --local_rank $RANK_ID \ --root_path ${root_path} \ --gpu_or_npu npu \ --use_prof 0 \ @@ -25,5 +25,5 @@ nohup taskset -c $PID_START-$PID_END python ../main.py --local_rank $RANK_ID \ --batch_size 640 \ --n_threads 64 \ --ft_portion complete \ - > ${root_path}results/npu_train_performance_8p.log 2>&1 & + > ${root_path}/results/npu_train_performance_8p.log 2>&1 & done \ No newline at end of file