Docker implementation of Map Anything. Display the Gradio app.
1.8K
Docker implementation of Map Anything.
This Docker container runs the Map Anything gradio application on port 5000. Memory Efficient is set to True so inference can be performed on RTX 3090 and similar GPUs.
The Dockerfile uses multi-stage builds with two targets:
base)uaisoftwareinc/ai-cuda:latest/opt/venv/datadev)docker build --target dev -t map-anything:dev .
docker run -it --gpus all -p 5000:5000 -v $(pwd):/data map-anything:dev
basesleep infinity to keep container alive/data for live editingprod)docker build --target prod -t map-anything:prod .
docker run -d --gpus all -p 5000:5000 map-anything:prod
basescripts/gradio_app.py)Use the dev target when you need to modify code or debug:
# Build development image
docker build --target dev -t map-anything:dev .
# Run with volume mount for live code changes
docker run -it --gpus all -p 5000:5000 -v $(pwd):/data map-anything:dev bash
Use the prod target for deployment:
# Build production image
docker build --target prod -t map-anything:prod .
# Run production container
docker run -d --gpus all -p 5000:5000 map-anything:prod
The gradio interface will be available at http://localhost:5000.
Content type
Image
Digest
sha256:2ee4cf937…
Size
14 GB
Last updated
about 1 year ago
docker pull uaisoftwareinc/ai-3d-mapanything