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 bd97359ab8d456b98ea6a5ea89d503f06c1a8166..526ea14c16859e092a987104360df75c6b45efa5 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