Giter VIP home page Giter VIP logo

colab-stable-diffusion-2-depth-ui's Introduction

Colab-Stable-Diffusion-2-Depth

Open In Colab

A simple notebook that launches Stable Diffusion 2.0 Depth (depth-to-image) demonstration via Gradio UI

This stable-diffusion-2-depth model is resumed from stable-diffusion-2-base (512-base-ema.ckpt) and finetuned for 200k steps. Added an extra input channel to process the (relative) depth prediction produced by MiDaS (dpt_hybrid) which is used as an additional conditioning.

Note

This notebook uses Gradio's share feature to serve the UI via a public URL, through a tunnel over HTTPs. To add security, this notebook forces you to set a user/password combo to access the UI

colab-stable-diffusion-2-depth-ui's People

Contributors

backnotprop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

deyh2020

colab-stable-diffusion-2-depth-ui's Issues

Gradio url?

Hi,

Is there a way to find out the gradio url? colab does not output a link (sorry, iam a noob here)

Issue module XFormers

I think the repo does not work anymore, I use Google Colab open the notebook, run the whole thing, but failed at XFormer module loading.

Out of Memory on Colab-- anyway to fix this?

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 14.48 GiB (GPU 0; 14.76 GiB total capacity; 6.23 GiB already allocated; 7.27 GiB free; 6.45 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.