1lint / anime_controlnet Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Thank for your nice code and project!
However after downloading A1111 controlnet weights from https://huggingface.co/lint/anime_styler/tree/main/A1111_webui_weights and move then to contorlnet's model folder and installed requirements adndwhen I tried out this error popped out.
Am I missing something for setting up?
Thanks for advanced!
D:\Python\path\my_venv\style_controlnet>python quickstart_train.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ D:\Python\path\my_venv\style_controlnet\quickstart_train.py:4 in │
│ │
│ 1 from argparse import Namespace │
│ 2 from multiprocessing import cpu_count │
│ 3 │
│ ❱ 4 from src import train_controlstyle, parse_args │
│ 5 │
│ 6 args = Namespace( │
│ 7 │ # start training from preexisting models │
│ │
│ D:\Python\path\my_venv\style_controlnet\src_init_.py:1 in │
│ │
│ ❱ 1 from .train_controlstyle import main as train_controlstyle │
│ 2 from .app import demo │
│ 3 from .parse_args import parse_args │
│ 4 │
│ │
│ D:\Python\path\my_venv\style_controlnet\src\train_controlstyle.py:27 in │
│ │
│ 24 from torchvision.utils import make_grid │
│ 25 import numpy as np │
│ 26 │
│ ❱ 27 from .modified_diffusers import ( │
│ 28 │ ControlNetModel, │
│ 29 │ StableDiffusionControlNetPipeline, │
│ 30 │ UNet2DConditionModel, │
│ │
│ D:\Python\path\my_venv\style_controlnet\src\modified_diffusers_init_.py:2 in │
│ │
│ 1 from .controlnet import ControlNetModel │
│ ❱ 2 from .pipeline_stable_diffusion_controlnet import StableDiffusionControlNetPipeline │
│ 3 from .unet_2d_condition import UNet2DConditionModel │
│ 4 │
│ │
│ D:\Python\path\my_venv\style_controlnet\src\modified_diffusers\pipeline_stable_diffusion_control │
│ net.py:29 in │
│ │
│ 26 from .controlnet import ControlNetModel │
│ 27 │
│ 28 from diffusers.schedulers import KarrasDiffusionSchedulers │
│ ❱ 29 from diffusers.utils import ( │
│ 30 │ PIL_INTERPOLATION, │
│ 31 │ is_accelerate_available, │
│ 32 │ is_accelerate_version, │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name 'is_accelerate_version' from 'diffusers.utils'
(D:\Python\Python310\lib\site-packages\diffusers\utils_init_.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.