mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-22 17:23:01 +00:00
dl rainfall: fix env var name
This commit is contained in:
parent
9d87168edb
commit
0d4cc63b76
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ DIR_OUTPUT="output/$(date -u --rfc-3339=date)_${CODE}";
|
||||||
echo -e ">>> Additional args: ${ARGS}";
|
echo -e ">>> Additional args: ${ARGS}";
|
||||||
|
|
||||||
export PATH=$HOME/software/bin:$PATH;
|
export PATH=$HOME/software/bin:$PATH;
|
||||||
export IMAGE_SIZE BATCH_SIZE DIR_RAINFALLWATER PATH_HEIGHTMAP COLOURMAP STEPS_PER_EPOCH DIR_OUTPUT;
|
export IMAGE_SIZE BATCH_SIZE DIR_RAINFALLWATER PATH_HEIGHTMAP PATH_COLOURMAP STEPS_PER_EPOCH DIR_OUTPUT;
|
||||||
|
|
||||||
echo ">>> Installing requirements";
|
echo ">>> Installing requirements";
|
||||||
conda run -n py38 pip install -r requirements.txt;
|
conda run -n py38 pip install -r requirements.txt;
|
||||||
|
|
|
@ -20,7 +20,7 @@ BATCH_SIZE = int(os.environ["BATCH_SIZE"]) if "BATCH_SIZE" in os.environ else 64
|
||||||
NUM_CLASSES = 2
|
NUM_CLASSES = 2
|
||||||
DIR_RAINFALLWATER = os.environ["DIR_RAINFALLWATER"]
|
DIR_RAINFALLWATER = os.environ["DIR_RAINFALLWATER"]
|
||||||
PATH_HEIGHTMAP = os.environ["PATH_HEIGHTMAP"]
|
PATH_HEIGHTMAP = os.environ["PATH_HEIGHTMAP"]
|
||||||
PATH_COLOURMAP = os.environ["COLOURMAP"]
|
PATH_COLOURMAP = os.environ["PATH_COLOURMAP"]
|
||||||
STEPS_PER_EPOCH = int(os.environ["STEPS_PER_EPOCH"]) if "STEPS_PER_EPOCH" in os.environ else None
|
STEPS_PER_EPOCH = int(os.environ["STEPS_PER_EPOCH"]) if "STEPS_PER_EPOCH" in os.environ else None
|
||||||
|
|
||||||
DIR_OUTPUT=os.environ["DIR_OUTPUT"] if "DIR_OUTPUT" in os.environ else f"output/{datetime.utcnow().date().isoformat()}_deeplabv3plus_rainfall_TEST"
|
DIR_OUTPUT=os.environ["DIR_OUTPUT"] if "DIR_OUTPUT" in os.environ else f"output/{datetime.utcnow().date().isoformat()}_deeplabv3plus_rainfall_TEST"
|
||||||
|
|
Loading…
Reference in a new issue