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