Demo / docker /docker-compose-cpu.yml
yocabon's picture
add docker for mast3r demo (mostly taken from dust3r)
0faef79
raw
history blame
364 Bytes
version: '3.8'
services:
mast3r-demo:
build:
context: ./files
dockerfile: cpu.Dockerfile
ports:
- "7860:7860"
volumes:
- ./files/checkpoints:/mast3r/checkpoints
environment:
- DEVICE=cpu
- MODEL=${MODEL:-MASt3R_ViTLarge_BaseDecoder_512_catmlpdpt_metric.pth}
cap_add:
- IPC_LOCK
- SYS_RESOURCE