You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.1 KiB
2.1 KiB
安装配置步骤
一、前置条件
-
安装
Python
3.8+
-
安装
PyTorch
1.12+
-
安装
Git
二、安装Cutie
不用代理或者代理使用姿势不正确,慢死你~
下载源码
git clone https://github.com/hkchengrex/Cutie.git
下载依赖模块
cd Cutie
pip install tqdm
pip install omegaconf
pip install hydra-core
pip install PySide6
pip install pyqtdarktheme
pip install opencv-python
pip install scipy
pip install av
pip install Cython
下载依赖模型
python scripts/download_models.py
Install with pip
cd Cutie
pip install -e .
查看已安装的依赖包
pip list
启动
python interactive_demo.py --video ./examples/example.mp4 --num_objects 1
工作成果
新机器运行步骤
1、打开VPN
软件,科学上网。
2、安装Git-2.38.1-64-bit.exe
,如果安装过略过。
https://git-scm.com/
3、添加环境变量
setx PATH "%PATH%;G:\AI\Cutie\py39\Scripts" /M
4、运行需要Microsoft
Visual
C++
14.0
or
greater
,安装vs_BuildTools.exe
,选择C++
进行安装,如果安装过略过。
https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/
5、执行启动.bat