From ae0a4758cd485cae8fb233070d70e015f172f36f Mon Sep 17 00:00:00 2001 From: Robert Muchsel Date: Tue, 12 Sep 2023 16:36:32 -0500 Subject: [PATCH] Ensure all scripts call python instead of python3 (#251) --- scripts/evaluate_imagenet_effnet2.sh | 2 +- scripts/train_imagenet_effnet2.sh | 2 +- scripts/train_kws20_v3_ai87.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/evaluate_imagenet_effnet2.sh b/scripts/evaluate_imagenet_effnet2.sh index 9620d7514..aa6161718 100755 --- a/scripts/evaluate_imagenet_effnet2.sh +++ b/scripts/evaluate_imagenet_effnet2.sh @@ -1,2 +1,2 @@ #!/bin/sh -python3 train.py --model ai87imageneteffnetv2 --dataset ImageNet --evaluate --device MAX78002 --exp-load-weights-from ../ai8x-synthesis/trained/ai87-imagenet-effnet2-q.pth.tar -8 --use-bias "$@" +python train.py --model ai87imageneteffnetv2 --dataset ImageNet --evaluate --device MAX78002 --exp-load-weights-from ../ai8x-synthesis/trained/ai87-imagenet-effnet2-q.pth.tar -8 --use-bias "$@" diff --git a/scripts/train_imagenet_effnet2.sh b/scripts/train_imagenet_effnet2.sh index 26cd5add8..64e381e05 100755 --- a/scripts/train_imagenet_effnet2.sh +++ b/scripts/train_imagenet_effnet2.sh @@ -1,2 +1,2 @@ #!/bin/sh -python3 train.py --deterministic --epochs 200 --optimizer Adam --lr 0.001 --wd 0 --compress policies/schedule-imagenet-effnet2.yaml --model ai87imageneteffnetv2 --dataset ImageNet --device MAX78002 --batch-size 256 --print-freq 100 --validation-split 0 --use-bias --qat-policy policies/qat_policy_imagenet.yaml "$@" +python train.py --deterministic --epochs 200 --optimizer Adam --lr 0.001 --wd 0 --compress policies/schedule-imagenet-effnet2.yaml --model ai87imageneteffnetv2 --dataset ImageNet --device MAX78002 --batch-size 256 --print-freq 100 --validation-split 0 --use-bias --qat-policy policies/qat_policy_imagenet.yaml "$@" diff --git a/scripts/train_kws20_v3_ai87.sh b/scripts/train_kws20_v3_ai87.sh index cb78b9c98..4529ffa5c 100755 --- a/scripts/train_kws20_v3_ai87.sh +++ b/scripts/train_kws20_v3_ai87.sh @@ -1,2 +1,2 @@ #!/bin/sh -python3 train.py --epochs 200 --optimizer Adam --lr 0.001 --wd 0 --deterministic --compress policies/schedule_kws20.yaml --model ai87kws20netv3 --dataset KWS_20 --confusion --device MAX78002 "$@" +python train.py --epochs 200 --optimizer Adam --lr 0.001 --wd 0 --deterministic --compress policies/schedule_kws20.yaml --model ai87kws20netv3 --dataset KWS_20 --confusion --device MAX78002 "$@"