Giter Club home page Giter Club logo

Comments (17)

friendlyFriend4000 avatar friendlyFriend4000 commented on July 2, 2024 4

https://github.com/sdbds/magic-animate-for-windows

Here is a one click solution without any paywalls.

I think it's bad taste to use the issue section for promoting oneself economic endeavors because it goes against the spirit of open source. You cannot take open source content and put it behind a paywall in good faith. It doesn't matter if you worked 24hours straight. The project creators have probably worked much longer.

from magic-animate.

FurkanGozukara avatar FurkanGozukara commented on July 2, 2024 2

Is there no way to install it without utilizing WSL2? I've been trying for around 2 hours to get it to work via Anaconda and/or Powershell on Windows 11, but it always come up with errors.

I'm wanting to run it on my cloud PC, but the service I use (Shadow) does not allow nested virtualization, so I can't utilize WSL2. Super frustrating.

there is a way

i spent hours to make it work yesterday like more than 6 hours

works with regular venv and python 3.10.x

can be downloaded from here i am preparing a tutorial and working on automatic dense pose generator right now

image

from magic-animate.

FurkanGozukara avatar FurkanGozukara commented on July 2, 2024 1

DensePose

ok how we gonna generate DensePose video?

Whit this: https://github.com/facebookresearch/detectron2

Thanks opened an issue thread there

Do you know how?

facebookresearch/detectron2#5167

from magic-animate.

Rokkonrol avatar Rokkonrol commented on July 2, 2024 1

Is there no way to install it without utilizing WSL2? I've been trying for around 2 hours to get it to work via Anaconda and/or Powershell on Windows 11, but it always come up with errors.

I'm wanting to run it on my cloud PC, but the service I use (Shadow) does not allow nested virtualization, so I can't utilize WSL2. Super frustrating.

from magic-animate.

FurkanGozukara avatar FurkanGozukara commented on July 2, 2024

can you try with this raw video instead of pre shared motion video

ex2.mp4

from magic-animate.

mp3pintyo avatar mp3pintyo commented on July 2, 2024

can you try with this raw video instead of pre shared motion video
ex2.mp4

But this is not a DensePose video. This definitely won't work.

from magic-animate.

FurkanGozukara avatar FurkanGozukara commented on July 2, 2024

DensePose

ok how we gonna generate DensePose video?

from magic-animate.

mp3pintyo avatar mp3pintyo commented on July 2, 2024

DensePose

ok how we gonna generate DensePose video?

Whit this: https://github.com/facebookresearch/detectron2

from magic-animate.

zcxu-eric avatar zcxu-eric commented on July 2, 2024

Hi, we acutally don't have window platform to test the installation and inference. You can refer to #18 for generating your own DensePose seuqnces. Thanks.

from magic-animate.

makemefeelgr8 avatar makemefeelgr8 commented on July 2, 2024

I tried installing it natively with 0 luck. The anaconda way fails, as there are about 10 libraries missing. As for the pip way pip3 install -r requirements.txt it fails with:

ERROR: Could not find a version that satisfies the requirement nvidia-cudnn-cu11==8.5.0.96 (from versions: 0.0.1.dev5, 8.9.4.19, 8.9.4.25, 8.9.5.29)
ERROR: No matching distribution found for nvidia-cudnn-cu11==8.5.0.96

They dropped windows support in tensorflow (talk about being out of touch), so the only way to fix this would be to install an older version of tensorflow. I'm no python developer, and I haven't found where the package version is specified. Thus, this is all the progress I made.

from magic-animate.

Priestru avatar Priestru commented on July 2, 2024

urgh

/home/yuuru/magic-animate/magicanimate/pipelines/pipeline_animation.py:43: FutureWarning: Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.
  from diffusers.pipeline_utils import DiffusionPipeline
Traceback (most recent call last):
  File "/home/yuuru/miniconda3/envs/manimate/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/yuuru/miniconda3/envs/manimate/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/yuuru/magic-animate/magicanimate/pipelines/animation.py", line 282, in <module>
    run(args)
  File "/home/yuuru/magic-animate/magicanimate/pipelines/animation.py", line 271, in run
    main(args)
  File "/home/yuuru/magic-animate/magicanimate/pipelines/animation.py", line 75, in main
    tokenizer = CLIPTokenizer.from_pretrained(config.pretrained_model_path, subfolder="tokenizer")
  File "/home/yuuru/miniconda3/envs/manimate/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1838, in from_pretrained
    raise EnvironmentError(
OSError: Can't load tokenizer for 'pretrained_models/stable-diffusion-v1-5'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'pretrained_models/stable-diffusion-v1-5' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.

from magic-animate.

mp3pintyo avatar mp3pintyo commented on July 2, 2024

urgh
File "/home/yuuru/magic-animate/magicanimate/pipelines/animation.py", line 75, in main
tokenizer = CLIPTokenizer.from_pretrained(config.pretrained_model_path, subfolder="tokenizer")
'pretrained_models/stable-diffusion-v1-5' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.

Please read back! I described that you need to download the tokenizer folder.

from magic-animate.

Priestru avatar Priestru commented on July 2, 2024

Please read back! I described that you need to download the tokenizer folder.

Yeah, I sure did. Trying again from scratch.

Okay, git clones helped. I think it's about different line endings

from magic-animate.

FurkanGozukara avatar FurkanGozukara commented on July 2, 2024

finally released full scripts including auto DensePose maker : #44

from magic-animate.

huiyichanmian avatar huiyichanmian commented on July 2, 2024

There is an issue with installing on Windows, you can view this video:
https://www.bilibili.com/video/BV1ig4y1f7BQ/?share_source=copy_web&vd_source=842db193ae3e8fc29019a57821e30000

from magic-animate.

Augus202312 avatar Augus202312 commented on July 2, 2024

urgh
文件“/home/yuuru/magic-animate/magicanimate/pipelines/animation.py”,第 75 行,在主
tokenizer = CLIPTokenizer.from_pretrained(config.pretrained_model_path, subfolder="tokenizer")
'pretrained_models/stable-diffusion-v1 -5' 是包含 CLIPTokenizer 分词器所有相关文件的目录的正确路径。

请回读!我描述过您需要下载 tokenizer 文件夹。
image

from magic-animate.

friendlyFriend4000 avatar friendlyFriend4000 commented on July 2, 2024

urgh
文件“/home/yuuru/magic-animate/magicanimate/pipelines/animation.py”,第 75 行,在主
tokenizer = CLIPTokenizer.from_pretrained(config.pretrained_model_path, subfolder="tokenizer")
'pretrained_models/stable-diffusion-v1 -5' 是包含 CLIPTokenizer 分词器所有相关文件的目录的正确路径。

请回读!我描述过您需要下载 tokenizer 文件夹。
image

open an issue here
https://github.com/sdbds/magic-animate-for-windows/issues

from magic-animate.

Related Issues (20)

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.