Download legacy/REPRODUCE.bat from PureOne/AUREOLE-R-v3: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/legacy/REPRODUCE.bat
- Command line
-
hf download hf://PureOne/AUREOLE-R-v3/legacy/REPRODUCE.bat
-
curl -L -o REPRODUCE.bat https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/legacy/REPRODUCE.bat
561 Bytes
| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| where python >nul 2>&1 | |
| if errorlevel 1 ( | |
| echo Python 3.12 or compatible Python is required. | |
| pause | |
| exit /b 1 | |
| ) | |
| if not exist .venv\Scripts\python.exe ( | |
| python -m venv .venv | |
| if errorlevel 1 exit /b 1 | |
| ) | |
| .venv\Scripts\python.exe -m pip install -r requirements.txt | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe code\run_experiments.py | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe -m unittest discover -s code -p "test_*.py" -v | |
| if errorlevel 1 exit /b 1 | |
| echo Reproduction completed. See results and figures. | |
| pause | |