update scripts
This commit is contained in:
19
TEMP/batch-base-search.sh
Normal file
19
TEMP/batch-base-search.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ "$#" -ne 1 ] ;then
|
||||
echo "Input illegal number of parameters " $#
|
||||
echo "Need 1 parameters for the GPUs"
|
||||
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
|
||||
|
||||
gpus=$1
|
||||
Times="1 2 3"
|
||||
|
||||
for time in ${Times}; do
|
||||
bash ./scripts-nas/search.sh ${gpus}
|
||||
done
|
Reference in New Issue
Block a user