Compare commits

...

15 Commits

30 changed files with 511 additions and 16 deletions
+5 -5
View File
@@ -5,8 +5,8 @@ data/*
.cache/
# COLMAP binaries
colmap/bin
colmap/plugins
colmap/COLMAP.bat
colmap/RUN_TESTS.bat
/lichtfeld-studio/LichtFeld-Studio-*
colmap/COLMAP/
# LichtFeld Studio binaries
/lichtfeld-studio/LichtFeld-Studio-Portable/
.ipynb_checkpoints
+4
View File
@@ -18,3 +18,7 @@
path = mq3drecon/metaquest-3d-reconstruction
url = https://github.com/t-34400/metaquest-3d-reconstruction
branch = main
[submodule "ml-sharp"]
path = ml-sharp/ml-sharp
url = https://github.com/apple/ml-sharp.git
branch = main
BIN
View File
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+3 -2
View File
@@ -1,3 +1,4 @@
curl -LO https://github.com/colmap/colmap/releases/latest/download/colmap-x64-windows-cuda.zip
tar -xf colmap-x64-windows-cuda.zip
curl -L -o colmap-x64-windows-cuda.zip "https://github.com/colmap/colmap/releases/latest/download/colmap-x64-windows-cuda.zip"
mkdir COLMAP
tar -xf colmap-x64-windows-cuda.zip -C COLMAP
del colmap-x64-windows-cuda.zip
Binary file not shown.
+49
View File
@@ -0,0 +1,49 @@
1. Go to AppData directory
```
cd %APPDATA%
```
2. Clone and set up vcpkg
```
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg && .\bootstrap-vcpkg.bat -disableMetrics && cd ..
```
3. Run the following in the LichtFeld-Studio directory
NOTE: This creates a portable build for devices with CUDA Compute Capability 8.6
```
cmake -B build -S . -G Ninja ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_PORTABLE=ON ^
-DBUILD_PYTHON_STUBS=OFF ^
-DCMAKE_CUDA_ARCHITECTURES=86 ^
-DBUILD_CUDA_MIN_SM=86 ^
-DCMAKE_TOOLCHAIN_FILE="%APPDATA%\vcpkg\scripts\buildsystems\vcpkg.cmake"
```
4. Run the following. Adjust the number of threads accordingly
```
cmake --build build -j4
```
5. Run the following to create the portable build.
```
cmake --install build --prefix ../LichtFeld-Studio-Portable
```
| NOTE: The full directory structure of the portable install should look like so:
```
.
├── bin/
├── DLLs/
├── extensions/
├── Lib/
├── share/
└── LICENSE (35 KB)
```
+18
View File
@@ -0,0 +1,18 @@
FROM continuumio/miniconda3:latest
WORKDIR /workspace/ml-sharp
COPY ml-sharp .
RUN conda create -n sharp python=3.13
SHELL ["conda", "run", "-n", "sharp", "/bin/bash", "-c"]
RUN pip install -r requirements.txt
RUN pip3 install --no-cache-dir \
--index-url https://download.pytorch.org/whl/cu130 \
#--extra-index-url https://mirrors.tencent.com/pytorch-wheels/whl/cu130/ \
torch \
torchvision
WORKDIR /workspace
RUN echo "conda activate sharp" >> ~/.profile
CMD ["/bin/bash", "-l"]
+16
View File
@@ -0,0 +1,16 @@
services:
ml-sharp:
build:
context: .
image: ml-sharp:personal
extends:
file: ../config.yml
service: base-app
volumes:
- type: bind
source: ./ml-sharp
target: /workspace/ml-sharp
- type: bind
source: ./.cache
target: /root/.cache
+1
Submodule ml-sharp/ml-sharp added at 1eaa046834
+1
View File
@@ -0,0 +1 @@
docker compose run --rm -it --name ml-sharp ml-sharp
+1 -1
View File
@@ -3,7 +3,7 @@ services:
mq3drecon:
build:
context: .
image: mq3drecon:dev
image: mq3drecon:personal
extends:
file: ../config.yml
service: win-gui-app
+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" \
"numpy>=1.21,<2.3"
"numpy>=1.21,<2.3" \
"gradio" \
"notebook" \
"matplotlib"
RUN apt-get update && apt-get install -y \
ffmpeg \
+1
View File
@@ -0,0 +1 @@
jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''
+4 -1
View File
@@ -3,7 +3,7 @@ services:
muggled_sam:
build:
context: .
image: muggled_sam:dev
image: muggled_sam:personal
extends:
file: ../config.yml
service: win-gui-app
@@ -11,6 +11,9 @@ services:
- type: bind
source: ./muggled_sam
target: /workspace/muggled-sam
- type: bind
source: ./notebooks
target: /workspace/muggled-sam/notebooks
- type: bind
source: ../data/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
+8
View File
@@ -0,0 +1,8 @@
FROM node:current-alpine3.23
RUN npm install -g @playcanvas/splat-transform
RUN apk add gcompat
WORKDIR /workspace
CMD ["/bin/sh", "-l"]
+10
View File
@@ -0,0 +1,10 @@
services:
splat_transform:
build:
context: .
image: splat_transform:personal
extends:
file: ../config.yml
service: base-app
+1
View File
@@ -0,0 +1 @@
docker compose run --rm -it --name splat_transform --entrypoint /bin/sh splat_transform