Code Monkey home page Code Monkey logo

Comments (5)

AshwinRaikar88 avatar AshwinRaikar88 commented on August 20, 2024 1

Yes you can use it, on cpu (But the output will be very slow)

Now here's how to do it, ( you'll need to change two files)

In line 40 of image_animation.py, set
cpu = True

In line 24 of demo.py, set
def load_checkpoints(config_path, checkpoint_path, cpu = True)

from real_time_image_animation.

Serafim-End avatar Serafim-End commented on August 20, 2024

and firstly use right torch version
for mac it is
pip install torch torchvision

from real_time_image_animation.

borodaalex avatar borodaalex commented on August 20, 2024

I believe this should be done by

pip install torch===1.0.0 torchvision===0.2.1 -f https://download.pytorch.org/whl/cu100/torch_stable.html

from instructions of project

from real_time_image_animation.

anandpawara avatar anandpawara commented on August 20, 2024

and firstly use right torch version
for mac it is
pip install torch torchvision

please do install given torch version as latest version for torch and torchvision does is by this project

from real_time_image_animation.

pardhu-mallela avatar pardhu-mallela commented on August 20, 2024

Yes. With cpu, output is very slow. I am unable to run this code in google colab because colab is not supporting webcam directly. Is there any alternative to get the output quicky?

from real_time_image_animation.

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.