Compare commits

..

3 Commits

Author SHA1 Message Date
rsformoso ae50c9ce19 Add notebook checkpoints to .gitignore 2026-06-18 16:55:31 +08:00
rsformoso dc7e2ad9d1 Add notebook for prototyping segmentation 2026-06-18 16:53:36 +08:00
rsformoso e89601d835 Fix Docker scripts for muggled-sam 2026-06-18 16:53:14 +08:00
9 changed files with 393 additions and 6 deletions
+1
View File
@@ -9,3 +9,4 @@ colmap/COLMAP/
# LichtFeld Studio binaries # LichtFeld Studio binaries
/lichtfeld-studio/LichtFeld-Studio-Portable/ /lichtfeld-studio/LichtFeld-Studio-Portable/
.ipynb_checkpoints
+6 -3
View File
@@ -1,8 +1,11 @@
FROM pytorch/pytorch:2.6.0-cuda12.6-cudnn9-runtime FROM pytorch/pytorch:2.12.0-cuda13.2-cudnn9-runtime
RUN pip install \ RUN pip install --break-system-packages --no-cache-dir \
"opencv-python>=4.5,<4.12" \ "opencv-python>=4.5,<4.12" \
"numpy>=1.21,<2.3" "numpy>=1.21,<2.3" \
"gradio" \
"notebook" \
"matplotlib"
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ffmpeg \ ffmpeg \
+1
View File
@@ -0,0 +1 @@
jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''
+3
View File
@@ -11,6 +11,9 @@ services:
- type: bind - type: bind
source: ./muggled_sam source: ./muggled_sam
target: /workspace/muggled-sam target: /workspace/muggled-sam
- type: bind
source: ./notebooks
target: /workspace/muggled-sam/notebooks
- type: bind - type: bind
source: ../data/muggled-sam/saved_images source: ../data/muggled-sam/saved_images
target: /workspace/muggled-sam/saved_images target: /workspace/muggled-sam/saved_images
-1
View File
@@ -1 +0,0 @@
curl -o "muggled_sam\model_weights\sam2.1_hiera_large.pt" https://dl.fbaipublicfiles.com/segment_anything_2/092824/sam2.1_hiera_large.pt
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
docker compose run --rm -it --name muggled_sam muggled_sam docker compose run -p 8888:8888 -p 7860:7860 --rm -it --name muggled_sam muggled_sam
+1
View File
@@ -0,0 +1 @@
docker compose run -p 8888:8888 -p 7860:7860 --rm -it --entrypoint "jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''" --name muggled_sam muggled_sam