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