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

add visulization postprocess template for non HPC users

parent 7e466702
No related branches found
No related tags found
No related merge requests found
Pipeline #92846 failed
#!/bin/bash -x
#User's input : 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
checkpoint_dir=/home/b.gong/model/checkpoint_89
results_dir=/home/b.gong/results/
lquick=1
climate_file=/home/b.gong/data_era5/T2monthly/climatology_t2m_1991-2020.nc
#select models
model=convLSTM
mkdir ${results_dir}
python3 ../main_scripts/main_visualize_postprocess.py --checkpoint ${checkpoint_dir} --mode test \
--results_dir ${results_dir} --batch_size 4 \
--num_stochastic_samples 1 \
--lquick_evaluation \
--climatology_file ${climate_file}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment