Download engine/BiRefNet/train_test.sh from HexBuddy/LHM: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/HexBuddy/LHM/resolve/main/engine/BiRefNet/train_test.sh
- Command line
-
hf download hf://spaces/HexBuddy/LHM/engine/BiRefNet/train_test.sh
-
curl -L -o train_test.sh https://huggingface.co/spaces/HexBuddy/LHM/resolve/main/engine/BiRefNet/train_test.sh
246 Bytes
| # Example: `setsid nohup ./train_test.sh BiRefNet_tmp 0,1,2,3,4,5,6,7 0 &>nohup.log &` | |
| method=${1:-"BSL"} | |
| devices=${2:-"0,1,2,3,4,5,6,7"} | |
| bash train.sh ${method} ${devices} | |
| devices_test=${3:-0} | |
| bash test.sh ${devices_test} | |
| hostname | |