From 8fe2cefc79094ed0e805ae34d978b5f0fcbb3a70 Mon Sep 17 00:00:00 2001 From: SunGaofeng Date: Thu, 31 Jan 2019 13:10:57 +0000 Subject: [PATCH] modify python3 to python in .sh --- fluid/PaddleCV/video/scripts/infer/infer_nextvlad.sh | 2 +- fluid/PaddleCV/video/scripts/infer/infer_stnet.sh | 2 +- fluid/PaddleCV/video/scripts/infer/infer_tsn.sh | 2 +- fluid/PaddleCV/video/scripts/test/test_stnet.sh | 2 +- fluid/PaddleCV/video/scripts/test/test_tsn.sh | 2 +- fluid/PaddleCV/video/scripts/train/train_stnet.sh | 2 +- fluid/PaddleCV/video/scripts/train/train_tsn.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fluid/PaddleCV/video/scripts/infer/infer_nextvlad.sh b/fluid/PaddleCV/video/scripts/infer/infer_nextvlad.sh index a7853748..1a969801 100644 --- a/fluid/PaddleCV/video/scripts/infer/infer_nextvlad.sh +++ b/fluid/PaddleCV/video/scripts/infer/infer_nextvlad.sh @@ -1,3 +1,3 @@ -python3 infer.py --model-name="NEXTVLAD" --config=./configs/nextvlad.txt --filelist=./data/youtube8m/infer.list \ +python infer.py --model-name="NEXTVLAD" --config=./configs/nextvlad.txt --filelist=./data/youtube8m/infer.list \ --weights=./checkpoints/NEXTVLAD_epoch0 \ --save-dir="./save" diff --git a/fluid/PaddleCV/video/scripts/infer/infer_stnet.sh b/fluid/PaddleCV/video/scripts/infer/infer_stnet.sh index f661ae88..8b27a234 100644 --- a/fluid/PaddleCV/video/scripts/infer/infer_stnet.sh +++ b/fluid/PaddleCV/video/scripts/infer/infer_stnet.sh @@ -1,2 +1,2 @@ -python3 infer.py --model-name="STNET" --config=./configs/stnet.txt --filelist=./data/kinetics/infer.list \ +python infer.py --model-name="STNET" --config=./configs/stnet.txt --filelist=./data/kinetics/infer.list \ --log-interval=10 --weights=./checkpoints/STNET_epoch0 --save-dir=./save diff --git a/fluid/PaddleCV/video/scripts/infer/infer_tsn.sh b/fluid/PaddleCV/video/scripts/infer/infer_tsn.sh index 506e0bf1..515feaf4 100644 --- a/fluid/PaddleCV/video/scripts/infer/infer_tsn.sh +++ b/fluid/PaddleCV/video/scripts/infer/infer_tsn.sh @@ -1,2 +1,2 @@ -python3 infer.py --model-name="TSN" --config=./configs/tsn.txt --filelist=./data/kinetics/infer.list \ +python infer.py --model-name="TSN" --config=./configs/tsn.txt --filelist=./data/kinetics/infer.list \ --log-interval=10 --weights=./checkpoints/TSN_epoch0 --save-dir=./save diff --git a/fluid/PaddleCV/video/scripts/test/test_stnet.sh b/fluid/PaddleCV/video/scripts/test/test_stnet.sh index 216faa95..6913ea69 100644 --- a/fluid/PaddleCV/video/scripts/test/test_stnet.sh +++ b/fluid/PaddleCV/video/scripts/test/test_stnet.sh @@ -1,2 +1,2 @@ -python3 test.py --model-name="STNET" --config=./configs/stnet.txt \ +python test.py --model-name="STNET" --config=./configs/stnet.txt \ --log-interval=10 --weights=./checkpoints/STNET_epoch0 diff --git a/fluid/PaddleCV/video/scripts/test/test_tsn.sh b/fluid/PaddleCV/video/scripts/test/test_tsn.sh index 3b5b4466..b66bcb2c 100644 --- a/fluid/PaddleCV/video/scripts/test/test_tsn.sh +++ b/fluid/PaddleCV/video/scripts/test/test_tsn.sh @@ -1,2 +1,2 @@ -python3 test.py --model-name="TSN" --config=./configs/tsn.txt \ +python test.py --model-name="TSN" --config=./configs/tsn.txt \ --log-interval=10 --weights=./checkpoints/TSN_epoch0 diff --git a/fluid/PaddleCV/video/scripts/train/train_stnet.sh b/fluid/PaddleCV/video/scripts/train/train_stnet.sh index f1aa1b78..a8fc44b3 100644 --- a/fluid/PaddleCV/video/scripts/train/train_stnet.sh +++ b/fluid/PaddleCV/video/scripts/train/train_stnet.sh @@ -1,2 +1,2 @@ -python3 train.py --model-name="STNET" --config=./configs/stnet.txt --epoch-num=60 \ +python train.py --model-name="STNET" --config=./configs/stnet.txt --epoch-num=60 \ --valid-interval=1 --save-interval=1 --log-interval=10 diff --git a/fluid/PaddleCV/video/scripts/train/train_tsn.sh b/fluid/PaddleCV/video/scripts/train/train_tsn.sh index ddb231db..b00df465 100644 --- a/fluid/PaddleCV/video/scripts/train/train_tsn.sh +++ b/fluid/PaddleCV/video/scripts/train/train_tsn.sh @@ -1,2 +1,2 @@ -python3 train.py --model-name="TSN" --config=./configs/tsn.txt --epoch-num=45 \ +python train.py --model-name="TSN" --config=./configs/tsn.txt --epoch-num=45 \ --valid-interval=1 --save-interval=1 --log-interval=10 -- GitLab