├── LICENSE ├── README.md └── ZoeDepth_colab.ipynb /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 🐣 Please follow me for new updates https://twitter.com/camenduru
2 | 🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
3 | 🥳 Please join my patreon community https://patreon.com/camenduru
4 | 5 | ## 🦒 Colab 6 | 7 | | Colab | Info 8 | | --- | --- | 9 | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/ZoeDepth-colab/blob/main/ZoeDepth_colab.ipynb) | ZoeDepth_colab 10 | 11 | ## Main Repo 12 | https://github.com/isl-org/ZoeDepth
13 | https://huggingface.co/spaces/shariqfarooq/ZoeDepth/tree/main
14 | 15 | ## Paper 16 | https://arxiv.org/abs/2302.12288 17 | 18 | ## Output 19 | ![Screenshot 2023-07-22 122904](https://github.com/camenduru/ZoeDepth-colab/assets/54370274/c9c37c1b-e1d1-4b2d-a306-919292e66056) 20 | -------------------------------------------------------------------------------- /ZoeDepth_colab.ipynb: -------------------------------------------------------------------------------- 1 | { 2 | "cells": [ 3 | { 4 | "cell_type": "markdown", 5 | "metadata": { 6 | "id": "view-in-github" 7 | }, 8 | "source": [ 9 | "[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/camenduru/ZoeDepth-colab/blob/main/ZoeDepth_colab.ipynb)" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": null, 15 | "metadata": { 16 | "id": "NrgcDwZxgDOe" 17 | }, 18 | "outputs": [], 19 | "source": [ 20 | "%cd /content\n", 21 | "!pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 -U\n", 22 | "!git clone -b dev https://github.com/camenduru/ZoeDepth-hf\n", 23 | "%cd /content/ZoeDepth-hf\n", 24 | "!pip install gradio==3.38.0 timm==0.6.11 trimesh\n", 25 | "!apt -y install -qq aria2\n", 26 | "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/ZoeDepth/resolve/main/ZoeD_M12_N.pt -d /root/.cache/torch/hub/checkpoints -o ZoeD_M12_N.pt\n", 27 | "!python app.py" 28 | ] 29 | } 30 | ], 31 | "metadata": { 32 | "accelerator": "GPU", 33 | "colab": { 34 | "gpuType": "T4", 35 | "provenance": [] 36 | }, 37 | "kernelspec": { 38 | "display_name": "Python 3", 39 | "name": "python3" 40 | }, 41 | "language_info": { 42 | "name": "python" 43 | } 44 | }, 45 | "nbformat": 4, 46 | "nbformat_minor": 0 47 | } 48 | --------------------------------------------------------------------------------