Skip to content
Snippets Groups Projects
Commit 7e466702 authored by Bing Gong's avatar Bing Gong
Browse files

update train_model_era5_template.sh

parent 743c98a3
Branches
Tags
No related merge requests found
Pipeline #92845 canceled
#!/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/
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment