SAB3R / docker /files /entrypoint.sh
Xuweiyi's picture
Initial SAB3R demo release
c7b663e verified
raw
history blame contribute delete
195 Bytes
#!/bin/bash
set -eux
DEVICE=${DEVICE:-cuda}
MODEL=${MODEL:-MASt3R_ViTLarge_BaseDecoder_512_dpt.pth}
exec python3 demo.py --weights "checkpoints/$MODEL" --device "$DEVICE" --local_network "$@"