633 B
633 B
运行方式
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.4.1-ubuntu22.04-dtk25.04-py3.10-fixpy
# 为以上拉取的docker的镜像ID替换,本镜像为:e77c15729879
docker run -it --shm-size=64G -v $PWD/MegaTTS3:/home/MegaTTS3 -v /opt/hyhal:/opt/hyhal:ro --privileged=true --device=/dev/kfd --device=/dev/dri/ --group-add video --name tts bash
cd /home/MegaTTS3
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
sh ffmpeg_apt.sh # ffmpeg=4.4.4,若无法直接运行完成安装,可拷贝出来单独依次运行脚本中的命令,以避免网络不畅的问题。