Download scripts/train_stochastic_1_4_deg.py from OneScience-Group/NeuralGCM: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/OneScience-Group/NeuralGCM/resolve/main/scripts/train_stochastic_1_4_deg.py
- Command line
-
hf download hf://OneScience-Group/NeuralGCM/scripts/train_stochastic_1_4_deg.py
-
curl -L -o train_stochastic_1_4_deg.py https://huggingface.co/OneScience-Group/NeuralGCM/resolve/main/scripts/train_stochastic_1_4_deg.py
397 Bytes
| #!/usr/bin/env python3 | |
| """Train the 1.4-degree stochastic profile with public two-member CRPS.""" | |
| from __future__ import annotations | |
| try: | |
| from train import main as _train_main | |
| except ModuleNotFoundError: # supports ``python -m scripts.train_stochastic_1_4_deg`` | |
| from scripts.train import main as _train_main | |
| if __name__ == "__main__": | |
| _train_main(forced_mode="stochastic_1_4_deg") | |