From 7e466702d064c56903a958c9f81f840aad483e3b Mon Sep 17 00:00:00 2001 From: Bing Gong <b.gong@fz-juelich.de> Date: Tue, 22 Feb 2022 15:17:38 +0100 Subject: [PATCH] update train_model_era5_template.sh --- .../other_scripts/train_model_era5_template.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/video_prediction_tools/other_scripts/train_model_era5_template.sh b/video_prediction_tools/other_scripts/train_model_era5_template.sh index bd97359a..526ea14c 100644 --- a/video_prediction_tools/other_scripts/train_model_era5_template.sh +++ b/video_prediction_tools/other_scripts/train_model_era5_template.sh @@ -1,23 +1,25 @@ #!/bin/bash -x -#User's input : your virtual enviornment name +#your virtual enviornment name VIRT_ENV_NAME=venv_test echo "Activating virtual environment..." source ../virtual_envs/${VIRT_ENV_NAME}/bin/activate -#the source directory contains the tfrecords -source_dir=/home/b.gong/preprocessed_data-24x24-990N2010E-var167/tfrecords -destination_dir=/home/b.gong/model/ +# the source directory contains the tfrecords +source_dir=/home/b.gong/preprocessed_data-40x40-990N2010E-2t/tfrecords +destination_dir=/home/b.gong/model2/ #select models -model=convLSTM +model=savp mkdir ${destination_dir} cp ../hparams/era5/${model}/model_hparams_template.json ${destination_dir}/model_hparams.json cp ../data_split/era5/datasplit.json ${destination_dir}/data_split.json +#copy the configuration to destination_dir vim ${destination_dir}/data_split.json vim ${destination_dir}/model_hparams.json + datasplit_dict=${destination_dir}/data_split.json model_hparams=${destination_dir}/model_hparams.json -- GitLab