Comments (2)
have you solved it?
from rerender_a_video.
Maybe you need to check the official controlnet project.
I find it uses a pretrained network of LineartAnimeDetector
.
https://github.com/lllyasviel/ControlNet-v1-1-nightly/blob/main/annotator/lineart_anime/__init__.py
And do something like
if det == 'Lineart_Anime':
if not isinstance(preprocessor, LineartAnimeDetector):
preprocessor = LineartAnimeDetector()
with torch.no_grad():
input_image = HWC3(input_image)
if det == 'None':
detected_map = input_image.copy()
else:
detected_map = preprocessor(resize_image(input_image, detect_resolution))
detected_map = HWC3(detected_map)
from rerender_a_video.
Related Issues (20)
- i can't find the files on runpod HOT 4
- multi prompting HOT 4
- frame crop HOT 1
- Importable library
- load model failed ! HOT 5
- EOFError: Ran out of input HOT 4
- How to load a lora HOT 2
- FileNotFoundError: [Errno 2] No such file or directory HOT 5
- Can video_blend.py turned into using CUDA instead of CPU? HOT 3
- I think they have a community to explore and test tool here!
- How do I load a lora without merging it with the base model?
- 如何配置GPU HOT 2
- 那天我这种小白也能用上就好了,不会Python,要是有个人会封装.exe,我会感谢他。 HOT 2
- add option to use LCM lora or sdxl turbo support this will speed up generation by 10x
- ebsynth issues HOT 2
- pinokio HOT 3
- Will there be a usable model or pipeline in Diffusers? HOT 2
- Error: `Please generate the first key image before generating all key images` HOT 1
- Readapting the Diffusers pipeline to the img2img setting HOT 2
- How to install gmflow for Diffusers pipeline? HOT 7
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 rerender_a_video.