├── README.md └── zero123plus_colab.ipynb /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/zero123plus-colab/blob/main/zero123plus_colab.ipynb) | zero123plus_colab 10 | 11 | ## Main Repo 12 | https://github.com/SUDO-AI-3D/zero123plus
13 | https://huggingface.co/spaces/sudo-ai/zero123plus-demo-space/tree/main
14 | 15 | ## Paper 16 | https://arxiv.org/abs/2310.15110 17 | 18 | ## Output 19 | 20 | ![Screenshot 2023-10-26 041846](https://github.com/camenduru/zero123plus-colab/assets/54370274/7a364536-df28-4718-b671-3bf29428dd87) 21 | ![Screenshot 2023-10-26 042231](https://github.com/camenduru/zero123plus-colab/assets/54370274/38d23cfe-9a77-4cc6-98a3-4b599e18c7e3) 22 | -------------------------------------------------------------------------------- /zero123plus_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/zero123plus-colab/blob/main/zero123plus_colab.ipynb)" 10 | ] 11 | }, 12 | { 13 | "cell_type": "code", 14 | "execution_count": null, 15 | "metadata": { 16 | "id": "VjYy0F2gZIPR" 17 | }, 18 | "outputs": [], 19 | "source": [ 20 | "%cd /content\n", 21 | "!git clone -b dev https://github.com/camenduru/zero123plus-hf\n", 22 | "\n", 23 | "!pip install -q gradio==3.50.2 fire rembg diffusers==0.20.2 transformers==4.29.2 accelerate \n", 24 | "!pip install -q git+https://github.com/facebookresearch/segment-anything.git\n", 25 | "\n", 26 | "!apt-get -y install -qq aria2\n", 27 | "!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/camenduru/segment_anything/resolve/main/sam_vit_h_4b8939.pth -d /content/zero123plus-hf/tmp -o sam_vit_h_4b8939.pth\n", 28 | "\n", 29 | "%cd /content/zero123plus-hf\n", 30 | "!python gradio_app.py" 31 | ] 32 | } 33 | ], 34 | "metadata": { 35 | "accelerator": "GPU", 36 | "colab": { 37 | "gpuType": "T4", 38 | "provenance": [] 39 | }, 40 | "kernelspec": { 41 | "display_name": "Python 3", 42 | "name": "python3" 43 | }, 44 | "language_info": { 45 | "name": "python" 46 | } 47 | }, 48 | "nbformat": 4, 49 | "nbformat_minor": 0 50 | } 51 | --------------------------------------------------------------------------------