Skip to content

Releases: n8ventures/TilingZoeDepth_GUI

Metal Ready! MacOS Build is here!

06 Aug 19:09
f1f4bb5
Compare
Choose a tag to compare
Looking for the Windows Build? Get it here: https://github.com/n8ventures/TilingZoeDepth_GUI/releases/tag/3.1.0

MacOS Build is here!

There was some loopholes I had to do to make it work with MPS (Metal Performance Shaders) and make it standalone-ish.

Patch notes remains the same as the previous build but I'll list down what's special with this build.
(Patch notes: https://github.com/n8ventures/TilingZoeDepth_GUI/releases/tag/3.1.0)

What's special?

if torch._C._dispatch_has_kernel_for_dispatch_key(self.qualname, "Meta"):
RuntimeError: operator torchvision::nms does not exist

It looks like pyTorch isn't being nice to py2app (or vice-versa) so I had to just copy-paste the torch folder from site-packages and replace the one in the .app. (See this file: osx-build.py)

⚠️ IMPORTANT

If you encounter anything like:
"Tiled ZoeDepth GUI.app is damaged and can’t be opened"
"Tiled ZoeDepth GUI.app cannot be opened because the developer cannot be verified"
""Tiled ZoeDepth GUI" can't be opened because Apple cannot check it for malicious software."

Just copy this code, and then paste and run this on your Terminal:
sudo xattr -dr com.apple.quarantine "/Applications/Tiled ZoeDepth GUI.app"

OR

Go to your /Applications folder, then right-click/⌃CTRL+Click the app and press 'Open', a pop-up will appear, then click 'Open' again.
More info here: https://support.apple.com/en-ph/guide/mac-help/mchleab3a043/mac

Full Changelog: 3.0.2...3.1.0-MacOS

3.1.0

06 Apr 12:44
a3e86d0
Compare
Choose a tag to compare
Looking for the MacOS Build? Get it here: https://github.com/n8ventures/TilingZoeDepth_GUI/releases/tag/3.1.0-MacOS

Patchnotes

New

  • Batch Mode
    • Useful for importing a lot of images and automatically saves the final generated images right next to the source image.
  • 32-Bit Mode (code by @cmore86) - More info below
    • More detail and a bit more detailed guestimation.

You'll see both of these options here:
32Bit Mode and Batch Mode

Improvements

  • Cleaned up some code.

About 32-Bit Mode

Sometimes, it's kinda a hit or miss on 32Bit. But it does provide more detail in most cases. If it does miss, you can always try to patch it up on your own via Photoshop/Gimp.

Samples:

Model N was used in this scenario.

Original Image 1

Image 1

Left Image Right Image Bit Mode
Tiled Non-Tiled 16-Bit (Inverted)
Tiled Non-Tiled 32-Bit

Results:
Image 1 Comparisons

Original Image 2

Image 2

Results:
Image 2 Comparisons

Note: The final image is not like 16bit, you'll have to invert it otherwise, as seen on the sample images above where I had to invert the 16-bit versions

Full Changelog: 3.0.2...3.1.0

3.0.2 - Git me out of here

17 Mar 00:53
4a2e24c
Compare
Choose a tag to compare

a few teaks and there to use for non-coder amigos

Patchnotes

Fixes

  • Removed from git import Repo module as it requires Git installed and replaced it with just a download-and-unzip function.
  • Fixed an assertion error if the image has more than 3 channels.
    • Basically, if image != RGB, PIL will convert it to RGB.
  • Updated some text.

Improvements

  • Instead of PyTorch downloading the models, implemented a kinda complicated download function that integrates with the progress bar.
    • PyTorch will still download MiDaS, I just didn't bother adding it since it's not that big.
  • Added a model label on the window.
    • Gotta know which model in use so that we can close the app and pick the right one. ha ha

Full Changelog: 3.0.1...3.0.2

3.0.1

14 Mar 20:24
4d2294b
Compare
Choose a tag to compare

3.0.1 - no more console mode!

Patchnotes

Fixes

  • Fixed unhandled exception when running the program built with console=False.
    • At first, I thought torch only had stderr and stdout. Now, the simple way was to bypass that was with sys.stderr = open(os.devnull, 'w'). Of course, it still crashed. So, to debug I had sys.stderr write a stderr.log instead. Upon further investigation, wand uses sys.__stdout__ and sys.__stderr__. So yeah, took me 3 hours to figure that out. 😃

Full Changelog: 3.0.0...3.0.1

Local GUI Version Released!

12 Mar 18:23
478a5e6
Compare
Choose a tag to compare

This was built as an exercise for myself to ease building depth maps for AE work. Feel free to make use for it yourself.

  • Supports drag and drop
  • Supports Multiple Image files (Batch mode)
  • Saves both the original depth map and Tiled Depth Map.

Known Issues

  • pythonw does not like this script at all. In the meantime, this release has console on.