安装AnimeGamer需遵循以下步骤:
- Hardware preparation:需配备GPU(建议显存≥24GB)的电脑,支持Python环境
- 基础环境:安装Git版本控制工具和Anaconda管理工具
- clone warehouse: By
git clone https://github.com/TencentARC/AnimeGamer.git
Getting the source code - Creating a Virtual Environment:使用conda建立Python 3.10环境并激活
- Installation of dependencies: Run
pip install -r requirements.txt
安装PyTorch等必要库 - Download model:从Hugging Face获取Mistral-7B等三个核心模型文件
安装完成后可通过python inference_MLLM.py
命令测试是否成功。
This answer comes from the articleAnimeGamer: An Open Source Tool for Generating Anime Videos and Character Interactions with Language CommandsThe