Compare commits
8 Commits
40c35e8aee
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ae50c9ce19 | |||
| dc7e2ad9d1 | |||
| e89601d835 | |||
| e17bef0f89 | |||
| 4f795aad96 | |||
| 2802f757d1 | |||
| 55bd48090e | |||
| 655cfbb517 |
+5
-8
@@ -5,11 +5,8 @@ data/*
|
|||||||
.cache/
|
.cache/
|
||||||
|
|
||||||
# COLMAP binaries
|
# COLMAP binaries
|
||||||
colmap/bin
|
colmap/COLMAP/
|
||||||
colmap/lib
|
|
||||||
colmap/include
|
# LichtFeld Studio binaries
|
||||||
colmap/share
|
/lichtfeld-studio/LichtFeld-Studio-Portable/
|
||||||
colmap/plugins
|
.ipynb_checkpoints
|
||||||
colmap/COLMAP.bat
|
|
||||||
colmap/RUN_TESTS.bat
|
|
||||||
/lichtfeld-studio/LichtFeld-Studio*
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[submodule "lichtfeld-studio/LichtFeld-Studio"]
|
[submodule "lichtfeld-studio/LichtFeld-Studio"]
|
||||||
path = archive/lichtfeld-studio/LichtFeld-Studio
|
path = lichtfeld-studio/LichtFeld-Studio
|
||||||
url = https://github.com/MrNeRF/LichtFeld-Studio
|
url = https://github.com/MrNeRF/LichtFeld-Studio
|
||||||
branch = master
|
branch = master
|
||||||
[submodule "pixsfm/pixel-perfect-sfm"]
|
[submodule "pixsfm/pixel-perfect-sfm"]
|
||||||
|
|||||||
Submodule archive/lichtfeld-studio/LichtFeld-Studio deleted from 2d9f4d3569
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
+4
-3
@@ -1,3 +1,4 @@
|
|||||||
curl -LO https://github.com/lyehe/build_gpu_colmap/releases/latest/download/COLMAP-windows-latest-CUDA-cuDSS-GUI.zip
|
curl -L -o colmap-x64-windows-cuda.zip "https://github.com/colmap/colmap/releases/latest/download/colmap-x64-windows-cuda.zip"
|
||||||
tar -xf COLMAP-windows-latest-CUDA-cuDSS-GUI.zip
|
mkdir COLMAP
|
||||||
del COLMAP-windows-latest-CUDA-cuDSS-GUI.zip
|
tar -xf colmap-x64-windows-cuda.zip -C COLMAP
|
||||||
|
del colmap-x64-windows-cuda.zip
|
||||||
Submodule
+1
Submodule lichtfeld-studio/LichtFeld-Studio added at 584f154bfd
Binary file not shown.
@@ -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)
|
||||||
|
```
|
||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
ml-sharp:
|
ml-sharp:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
image: ml-sharp:me
|
image: ml-sharp:personal
|
||||||
extends:
|
extends:
|
||||||
file: ../config.yml
|
file: ../config.yml
|
||||||
service: base-app
|
service: base-app
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ services:
|
|||||||
mq3drecon:
|
mq3drecon:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
image: mq3drecon:dev
|
image: mq3drecon:personal
|
||||||
extends:
|
extends:
|
||||||
file: ../config.yml
|
file: ../config.yml
|
||||||
service: win-gui-app
|
service: win-gui-app
|
||||||
|
|||||||
@@ -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 \
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
jupyter notebook --allow-root --ip 0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password=''
|
||||||
@@ -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 +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
|
|
||||||
+1
-1
Submodule muggled-sam/muggled_sam updated: 64ee169634...ab3c930712
File diff suppressed because one or more lines are too long
@@ -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
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user