Download scripts/train_auto.py from OneScience-Group/CFDBench: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/OneScience-Group/CFDBench/resolve/main/scripts/train_auto.py
- Command line
-
hf download hf://OneScience-Group/CFDBench/scripts/train_auto.py
-
curl -L -o train_auto.py https://huggingface.co/OneScience-Group/CFDBench/resolve/main/scripts/train_auto.py
287 Bytes
| import sys | |
| from pathlib import Path | |
| SCRIPTS_DIR = Path(__file__).resolve().parent | |
| if str(SCRIPTS_DIR) not in sys.path: | |
| sys.path.insert(0, str(SCRIPTS_DIR)) | |
| from train import main | |
| if __name__ == "__main__": | |
| main(required_task_type="auto", entry_name="scripts/train_auto.py") | |