Giter VIP home page Giter VIP logo

anime_controlnet's People

Contributors

1lint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anime_controlnet's Issues

ImportError: cannot import name 'is_accelerate_version' from 'diffusers.utils'

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)

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.