Skip to content

Commit de8408d

Browse files
committed
midas commithash before 3.1
1 parent aabd921 commit de8408d

File tree

3 files changed

+273
-44
lines changed

3 files changed

+273
-44
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ To generate realistic depth maps from a single image, this script uses code and
99
[![screenshot](examples.png)](https://raw.githubusercontent.com/thygate/stable-diffusion-webui-depthmap-script/main/examples.png)
1010

1111
## Changelog
12+
* v0.3.1 bugfix
13+
* clone midas repo before midas 3.1 to fix issue (see [here](https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/55#issue-1510266008))
1214
* v0.3.0 improved stereo image generation
1315
* New improved technique for generating stereo images and balancing distortion between eyes by [@semjon00](https://github.com/semjon00) (See [here](https://github.com/thygate/stable-diffusion-webui-depthmap-script/pull/51))
1416
* Substantial speedup of stereo image generation code using numba JIT

install.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
import launch
2-
launch.git_clone("https://github.com/isl-org/MiDaS.git", "repositories/midas", "midas")
2+
launch.git_clone("https://github.com/isl-org/MiDaS.git", "repositories/midas", "b845b7839c89567c123b06dddfff8d5e708834b7")
33
launch.git_clone("https://github.com/compphoto/BoostingMonocularDepth.git", "repositories/BoostingMonocularDepth", "BoostingMonocularDepth")
44
if not launch.is_installed("matplotlib"):
55
launch.run_pip("install matplotlib", "requirements for depthmap script")
66
if not launch.is_installed("numba"):
7-
launch.run_pip("install numba", "requirements for depthmap script")
7+
launch.run_pip("install numba", "requirements for depthmap script")
8+
9+
#if not launch.is_installed("vispy"):
10+
# launch.run_pip("install vispy", "requirements for depthmap script")
11+
#if not launch.is_installed("moviepy"):
12+
# launch.run_pip("install moviepy", "requirements for depthmap script")
13+
#if not launch.is_installed("transforms3d"):
14+
# launch.run_pip("install transforms3d", "requirements for depthmap script")

0 commit comments

Comments
 (0)