Add muggled_sam files

This commit is contained in:
2025-11-17 18:00:39 +08:00
parent 609496e6f8
commit 11a1a14beb
5 changed files with 36 additions and 0 deletions
+4
View File
@@ -10,3 +10,7 @@
path = pixsfm/Hierarchical-Localization
url = https://github.com/cvg/Hierarchical-Localization.git
branch = master
[submodule "muggled-sam/muggled_sam"]
path = muggled-sam/muggled_sam
url = https://github.com/heyoeyo/muggled_sam
branch = main
+14
View File
@@ -0,0 +1,14 @@
FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-runtime
RUN pip install \
"opencv-python>=4.5,<4.12" \
"numpy>=1.21,<2.3"
RUN apt-get update && apt-get install -y \
ffmpeg \
libsm6 \
libxext6
WORKDIR /workspace/muggled-sam
CMD ["/bin/bash", "-l"]
+16
View File
@@ -0,0 +1,16 @@
services:
muggled_sam:
build:
context: .
image: muggled_sam:dev
extends:
file: ../config.yml
service: win-gui-app
volumes:
- type: bind
source: ./muggled_sam
target: /workspace/muggled-sam
- type: bind
source: ../data/muggled-sam/saved_images
target: /workspace/muggled-sam/saved_images
+1
View File
@@ -0,0 +1 @@
docker compose run --rm -it --name muggled_sam muggled_sam