视频聚合搜索 - 壹搜网为您找到"

Conda 安装 pytorch

"相关结果

3. torch安装

深度学习环境安装---3. torch安装
www.bilibili.com

roop换脸AI安装运行记录(CPU篇)

所需系统环境: python (3.10 recommended) pip git ffmpeg visual studio 2022 runtimes (windows) roop地址:https://github.com/s0md3v/roop 官方安装运行教程: https://github.com/s0md3v/roop/wiki/2.-Acceleration 查看系统已装的虚拟环境: conda info --env 激活虚拟环境: conda activate python310 初次进行逐条安装所需环境库: pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ numpy==1.23.5 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ opencv-python==4.7.0.72 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ onnx==1.14.0 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ insightface==0.7.3 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ psutil==5.9.5 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ tk==0.1.0 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ customtkinter==5.1.3 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ pillow==9.5.0 安装GPU版pytorch: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ onnxruntime-gpu==1.15.0 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ tensorflow==2.12.0 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ opennsfw2==0.10.2 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ protobuf==4.23.2 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ tqdm==4.65.0 pip3 install -i https://pypi.mirrors.ustc.edu.cn/simple/ gfpgan==1.3.8 更换opencv版本: pip uninstall opencv-python pip uninstall opencv-contrib-python pip install opencv-contrib-python pip install opencv-python 运行CUP版roop: python run.py 运行GUP版roop: python run.py --execution-provider cuda 注:转换文件名和路径必须用英文或数字,不能有中文或其他特殊字符! 实际转换有时会出错中断,用ffmpeg将已转换的图片转视频,%04d是以0001.jpg顺序命名的文件: ffmpeg -f image2 -i /images/image%04d.jpg out.mp4
www.bilibili.com

不再等待!PyTorch离线安装让开发更高效

我们知道,每开发一个AI应用的时候,都需要创建一个conda虚拟环境并且要安装pytorch。这个库如果每新创建一个新的conda环境的时候都需要重新下载一次,那将会消耗非常多的时间。而且国内的环境大家都懂。经常会导致下载失败。所以对于经常开发AI应用的开发者来说,离线安装pytorch是一个非常有用的技能
www.bilibili.com

挑战2026最细深度学习环境搭建教程 就不信你学不会!!--Anaconda+PyTorch(CPU/GPU)、VSCode+PyCharm

从零开始进行人工智能/深度学习环境搭建,管理环境工具anaconda安装及使用,深度学习框架pytorch安装,编辑器vscode和pycharm的安装及使用
www.bilibili.com