Download scripts/inference_768.sh from Daankular/PSHuman: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/Daankular/PSHuman/resolve/main/scripts/inference_768.sh
- Command line
-
hf download hf://spaces/Daankular/PSHuman/scripts/inference_768.sh
-
curl -L -o inference_768.sh https://huggingface.co/spaces/Daankular/PSHuman/resolve/main/scripts/inference_768.sh
437 Bytes
| seed=600 | |
| gpu=$1 | |
| CUDA_VISIBLE_DEVICES=$gpu python inference.py --config configs/inference-768-6view.yaml \ | |
| pretrained_model_name_or_path='pengHTYX/PSHuman_Unclip_768_6views' \ | |
| validation_dataset.crop_size=740 \ | |
| with_smpl=false \ | |
| validation_dataset.root_dir='examples' \ | |
| seed=$seed \ | |
| num_views=7 \ | |
| save_mode='rgb' # if save rgba images for each view, if not, noly save concatenated images for visualization | |