Comments (6)
I got background composition working by using the "encode_first_stage" function to encode the background image, then passing encoded background tensor as well as a mask to the "sample" function. Code snippet below:
from controlnet.
On this note, how would someone go about using both the original image unmodified + some other control like canny (using img2img instead of txt2img for the base SD). I'd like to preserve some color information that canny, hed, m-lsd, etc remove
from controlnet.
Looks like ldm module is similar to original SD code https://github.com/CompVis/stable-diffusion/tree/main/ldm. I am assuming the original img2img script should just work https://github.com/CompVis/stable-diffusion/blob/main/scripts/img2img.py. But still some code changes are required.
from controlnet.
Hi guyes, @himmetozcan when you say, you mean documentation right? Could you share whit the url? i'm new in stable diffusion and controlnet, i would like to understand how works each parameters. Thanks.
from controlnet.
Do we have any updates for masked diffusion example?
I think there's several options for inpainting or masked diffusion? Do we need to resize the x0 and mask to h//8 ,w//8 since it's LDM, but the channel number is unmatched, the random img has 4 channels, rather than 3.
Please shed some lights for us. Thanks.
from controlnet.
Hello! I am getting error in dimensions.
from controlnet.
Related Issues (20)
- a
- How long it takes to test an image HOT 3
- Unable to install gradio=3.40.1 HOT 3
- Training a ControlNet to generate furnished room -> empty room (and vice versa). Improvement plateau...
- Comfy UI / Stable Diffusion error
- I would like a complete technical description of how controlnet works
- Unable to Connect to Hugging Face for Model Download in China Mainland HOT 4
- save checkpoint
- How do I find the size of the set epoch
- dataset include different sizes
- trainable copy also means "require_grad==False"
- Art for Web Platforms grid, various set of product items, kitchenware, cutlery, biodegradable bags, bioplastics, eco friendly, trashbag, pet waste, varied, grid, 3D objects set, plastic bags, Creating art for web platforms, often for websites, online galleries, or digital user experiences. Negative prompt: text, repetition, same, noisy, noise, glitch, grainy, blurred, pixelated, unrealistic, malformed, bad, abnormal, print art, digital art Steps: 30, Sampler: Euler a, CFG scale: 7, Seed: 1178069234, Size: 1024x1024, Model hash: 9550adb9d6, Model: nightvisionXLPhotorealisticPortrait_v0743ReleaseBakedvae, ControlNet 0: "Module: softedge_pidinet, Model: bdsqlsz_controlllite_xl_softedge [c28ff1c4], Weight: 0.5, Resize Mode: Crop and Resize, Low Vram: False, Processor Res: 512, Guidance Start: 0, Guidance End: 0.19, Pixel Perfect: False, Control Mode: Balanced, Hr Option: Both, Save Detected Map: True", Version: v1.7.0 Error Time taken: 16.2 sec. A: 5.58 GB, R: 12.72 GB, Sys: 13.2/15.7314 GB (84.1%)
- cannot import name 'Undefined' from 'pydantic.fields' Error HOT 2
- Use openpose in Guessmode
- nvm
- Load CLIPTokenizer error HOT 1
- erorr "cond_stage_model.transformer.text_model.embeddings.position_ids" HOT 2
- training is so slow HOT 2
- ERROR: Exception in ASGI application
- ControlNet cannot refresh the model
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from controlnet.