Giter VIP home page Giter VIP logo

Comments (9)

John-WL avatar John-WL commented on July 23, 2024 1

@gunjahman
https://pytorch.org/

Reinstall torch 2.0.1 using the instructions.

Make sure to uninstall torch first by running pip uninstall torch torchaudio torchvision

from moore-animateanyone.

lixunsong avatar lixunsong commented on July 23, 2024

Hello @gunjahman , have you install complete files of sd-vae-ft-mse? The issue is likely caused by missing the file path, so I suggest you check the path and its configuration in the config file.

from moore-animateanyone.

gunjahman avatar gunjahman commented on July 23, 2024

Thank you for your answer.

I have checked the path in the config file (configs/prompts/animation.yaml) and it is correct (pretrained_vae_path: "./pretrained_weights/sd-vae-ft-mse")
I have in the root a folder named: .pretrained_weights and in there a folder named: sd-vae-ft-mse and in there there are three files: config.json, diffusion_pytorch_model.bin, diffusion_pytorch_model.safetensors.

But I'm getting that error.

Any ideas?

from moore-animateanyone.

lixunsong avatar lixunsong commented on July 23, 2024

the folder name in the root may be pretrained_weights/ instead of .pretrained_weights. Is it right?

from moore-animateanyone.

gunjahman avatar gunjahman commented on July 23, 2024

Good idea. I tried it and now I get a different error: raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

from moore-animateanyone.

lixunsong avatar lixunsong commented on July 23, 2024

This seems you don't install torch with a cuda version. You can first check whether the cuda is enabled by this:

import torch
print(torch.cuda.is_available())

If output is False, you could reinstall torch.

from moore-animateanyone.

gunjahman avatar gunjahman commented on July 23, 2024

Sorry, I'm a newbie. Where do I write:
import torch
print(torch.cuda.is_available())

from moore-animateanyone.

nihilisticneuralnet avatar nihilisticneuralnet commented on July 23, 2024

you can create a new .py file within the folder and run it

from moore-animateanyone.

gunjahman avatar gunjahman commented on July 23, 2024

Thank you.
I did it, and you were right, I get FALSE

python check.py
False

What should I do?

from moore-animateanyone.

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.