From 6c5fe506d50306c52daad1e7d11f1a4b772e4acc Mon Sep 17 00:00:00 2001 From: D-X-Y <280835372@qq.com> Date: Mon, 9 Dec 2019 16:20:53 +1100 Subject: [PATCH] update configs --- configs/NeurIPS-2019/C100-ResNet32.config | 2 +- scripts-search/AA-NAS-train-archs.sh | 42 ----------------------- scripts-search/AA-NAS-train-net.sh | 33 ------------------ 3 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 scripts-search/AA-NAS-train-archs.sh delete mode 100644 scripts-search/AA-NAS-train-net.sh diff --git a/configs/NeurIPS-2019/C100-ResNet32.config b/configs/NeurIPS-2019/C100-ResNet32.config index aa45587..2ca3087 100644 --- a/configs/NeurIPS-2019/C100-ResNet32.config +++ b/configs/NeurIPS-2019/C100-ResNet32.config @@ -8,5 +8,5 @@ "class_num" : ["int" , "100"], "xchannels" : ["int" , ["3", "16", "4", "4", "6", "11", "6", "4", "8", "4", "4", "4", "32", "32", "9", "28", "28", "28", "28", "28", "32", "32", "64", "64", "64", "64", "64", "64", "64", "64", "64", "64"]], "xblocks" : ["int" , ["5", "5", "5"]], - "estimated_FLOP" : ["float" , "42.493184"] + "estimated_FLOP" : ["float" , "42.47"] } diff --git a/scripts-search/AA-NAS-train-archs.sh b/scripts-search/AA-NAS-train-archs.sh deleted file mode 100644 index 7739e89..0000000 --- a/scripts-search/AA-NAS-train-archs.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -# bash ./scripts-search/AA-NAS-train-archs.sh 0 100 -1 '777 888 999' -echo script name: $0 -echo $# arguments -if [ "$#" -ne 4 ] ;then - echo "Input illegal number of parameters " $# - echo "Need 4 parameters for start and end and arch-index" - exit 1 -fi -if [ "$TORCH_HOME" = "" ]; then - echo "Must set TORCH_HOME envoriment variable for data dir saving" - exit 1 -else - echo "TORCH_HOME : $TORCH_HOME" -fi - -xstart=$1 -xend=$2 -arch_index=$3 -all_seeds=$4 - -if [ ${arch_index} == "-1" ]; then - mode=new -else - mode=cover -fi - -save_dir=./output/AA-NAS-BENCH-4/ - -OMP_NUM_THREADS=4 python ./exps/AA-NAS-Bench-main.py \ - --mode ${mode} --save_dir ${save_dir} --max_node 4 \ - --use_less 0 \ - --datasets cifar10 cifar10 cifar100 ImageNet16-120 \ - --splits 1 0 0 0 \ - --xpaths $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python/ImageNet16 \ - --channel 16 --num_cells 5 \ - --workers 4 \ - --srange ${xstart} ${xend} --arch_index ${arch_index} \ - --seeds ${all_seeds} diff --git a/scripts-search/AA-NAS-train-net.sh b/scripts-search/AA-NAS-train-net.sh deleted file mode 100644 index 8bd3d84..0000000 --- a/scripts-search/AA-NAS-train-net.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# bash ./scripts-search/AA-NAS-train-net.sh resnet 16 5 -echo script name: $0 -echo $# arguments -if [ "$#" -ne 3 ] ;then - echo "Input illegal number of parameters " $# - echo "Need 3 parameters for network, channel, num-of-cells" - exit 1 -fi -if [ "$TORCH_HOME" = "" ]; then - echo "Must set TORCH_HOME envoriment variable for data dir saving" - exit 1 -else - echo "TORCH_HOME : $TORCH_HOME" -fi - -model=$1 -channel=$2 -num_cells=$3 - -save_dir=./output/AA-NAS-BENCH-4/ - -OMP_NUM_THREADS=4 python ./exps/AA-NAS-Bench-main.py \ - --mode specific-${model} --save_dir ${save_dir} --max_node 4 \ - --datasets cifar10 cifar10 cifar100 ImageNet16-120 \ - --splits 1 0 0 0 \ - --xpaths $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python \ - $TORCH_HOME/cifar.python/ImageNet16 \ - --channel ${channel} --num_cells ${num_cells} \ - --workers 4 \ - --seeds 777 888 999