conda create -n donghua python=3.7 -y
activate donghua
pip install -r requirements.txt
pip install –upgrade torch torchvision torchaudio –index-url https://download.pytorch.org/whl/cu118
#转换视频(输入视频1.mp4/输出目录output/results;模型:AnimeGANv3_Hayao_36.onnx)
python tools/video2anime.py -i inputs/vid/1.mp4 -o output/results -m deploy/AnimeGANv3_Hayao_36.onnx
https://zhuanlan.zhihu.com/p/693609921
© 版权声明
文章版权归作者所有,未经允许请勿转载。