KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
12.84k stars 1.36k forks source link

Running into error when executing #173

Open Peter-JiY opened 3 months ago

Peter-JiY commented 3 months ago

Traceback (most recent call last): File "E:\AI_Face\LivePortrait-main\app.py", line 34, in raise ImportError( ImportError: FFmpeg is not installed. Please install FFmpeg before running this script. https://ffmpeg.org/download.html but this installed ,how should i do ? ![Uploading 屏幕截图 2024-07-20 004540.png…]() ffmpeg-python 0.2.0 ffmpy 0.3.2

Peter-JiY commented 3 months ago

没细看文档,不好意思

zzzweakman commented 3 months ago

Thanks for your attention. If you have any additional questions or need further assistance, feel free to ask anytime : ) @Peter-JiY

Peter-JiY commented 3 months ago

In the Task Manager, I noticed that when I run my tasks, they heavily occupy my CPU resources, while my GPU remains idle. I have already installed CUDA and everything necessary. How should I adjust to use GPU computation, given that my CPU performance is quite weak?

DAVID21KING commented 3 months ago

i seem to be running into the same issue with tyro. import tyro ModuleNotFoundError: No module named 'tyro' but i installed it. i got past this by using conda install conda-forge::tyro but then i got the same issue with gradio conda install conda-forge::gradio and then the same with torch. whats the issue?

cleardusk commented 3 months ago

Could you just try to install tyro by pip install tyro @DAVID21KING This is the official pypi page of tyro: https://pypi.org/project/tyro/

DAVID21KING commented 3 months ago

I did install pyro by pip originally . I installed everything by pip originally but just wasnt working. Think imma just delete everything and redownload everything tonight and see how that goes

maciejberka commented 3 months ago

Hi @DAVID21KING, same issue here. Have you found any solution?

DAVID21KING commented 3 months ago

I haven't had time to get back to trying it but I think I know what the issue was. I activated the conda env using the wrong python version. So when I downloaded all the requirements they weren't compatible with some of the requirements that were installed. I deleted everything and will try again when I can.

FurkanGozukara commented 3 months ago

i use python venv way and it works perfect

if you want to go that way this tutorial amazing to install back end

https://youtu.be/-NjNy7afOQ0

0:00 Introduction of what you will learn in Essential AI Tools and Libraries A Guide 4:04 What is command line interface (cmd) and how to open it 4:15 How to check and verify your default installed Python 4:27 How to verify whether Git is installed or not 4:37 How open and edit your environment path and why it is extremely important 4:50 How to edit system environment variables 5:31 How to install Python on Windows 6:12 What configuration and settings you need when installing Python for AI applications 7:28 How to see where the system is finding my installed default Python 8:01 How to install Git on Windows 8:44 How to properly install Visual Studio C++ Compile tools to solve C++ 14.0 or greater is required 9:24 InsightFace install error and how we will fix it 11:25 How to disable pip cache or purge to redownload and fix erroneous pip files download or corrupted pip cache 12:16 How to install Git Large which is necessary for Git LFS 12:34 How to check if FFmpeg is installed and set on Windows 12:45 How to install and setup FFmpeg on Windows 13:40 How to add downloaded FFmpeg exes to the system environment variables path 14:18 How will system look system variables path with which order, which Python version will get used 14:36 How to verify if your FFmpeg setup is working correctly or not 14:59 How to install CUDA Toolkit libraries on Windows 15:46 How to find other and previous CUDA Toolkit versions 16:45 Where CUDA Toolkit libraries path are added in System Environment Variables path 17:12 All about Git commands such as checkout, clone, pull, stash, pop 17:22 How to install Automatic1111 Stable Diffusion Web UI properly 17:46 How to open a CMD in that current drive directly 17:56 How to do a git clone to download the Automatic1111 Web UI or any GitHub repository 18:18 How to do a git checkout to switch different branches such as dev branch 18:38 Explanation of different branches in GitHub repository, example Automatic1111 repo 19:00 How to do git pull to update and verify latest version of a repo 19:10 How to switch back to main / master branch 19:27 When and how to use git stash and git stash pop commands 21:04 How to fix please commit your changes or stash them before you merge error 21:44 How to get back your modified file after git pull and overwrite 22:29 Python virtual environment / venv operations 22:42 How to start installation of Automatic1111 SD Web UI after git clone 23:51 How to activate any Python virtual environment / venv, example venv of Automatic1111 Web UI 24:27 How to install latest PyTorch / Torch version to Automatic1111 SD Web UI 24:44 How to uninstall any library from a VENV 25:05 How to list specific versions of any Python library to install any specific version from list 25:26 How to install specific version of PyTorch with GPU and CUDA 25:41 How to fix PyTorch / Torch with only CPU support installation 26:02 How to install older versions of PyTorch with previous CUDA and GPU 26:14 How to list certain CUDA version compatible PyTorch / Torch versions 26:32 If you are not able to find your specific version library it is due to your Python version 26:45 How to compose a virtual environment / VENV with Python 27:12 How to install different Python versions at the same time 28:29 How to copy file path directly in Windows 28:39 How to use second installed Python version 28:49 How to generate specific Python version having virtual environment / VENV 29:34 How to change your default Python version 30:58 How to install runpodctl or any exe to your system cmd

and if you prefer 1-click install check this out even has some extra few features : https://youtu.be/FPtpNrmuwXk