Comments (5)
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.
and firstly use right torch version
for mac it is
pip install torch torchvision
from real_time_image_animation.
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.
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.
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)
- Output is really weird and unexpected HOT 5
- Doesn't work with python 3.8.x. only with python 3.7.x HOT 2
- Consider PySimpleGUI?
- Illegal instruction (core dumped)
- AMD GPU HOT 1
- how to reduce distortion in the target image
- First
- why I can only get a 12frame/s output video? HOT 1
- How to use in CPU? HOT 1
- centos install pywin32 error
- 如何转成onnx模型呢?
- GPU dedicated memory
- Lots of runtime errors HOT 1
- 什么问题
- Link is down HOT 2
- Checkpoint. Zip HOT 1
- the google drive file is not downloading HOT 2
- virtualenv 版本
- How to run?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from real_time_image_animation.