Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AMBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
AMBS
Commits
cfe103e9
Commit
cfe103e9
authored
3 years ago
by
Bing Gong
Browse files
Options
Downloads
Patches
Plain Diff
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
3 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
video_prediction_tools/other_scripts/visualize_postprocess_era5_template.sh
+22
-0
22 additions, 0 deletions
...ools/other_scripts/visualize_postprocess_era5_template.sh
with
22 additions
and
0 deletions
video_prediction_tools/other_scripts/visualize_postprocess_era5_template.sh
0 → 100644
+
22
−
0
View file @
cfe103e9
#!/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
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment