Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm
NVIDIA Driver update/download
- GPU: GTX 1050

- Driver version

Anaconda-based pytorch packages download
- download from here: https://blog.youkuaiyun.com/didiaopao/article/details/119787139
- Create a env for latter useage(named after pytorch):

- Activate the env:

- Change the source(For sake of saving time):

- Check for version support(From this site https://pytorch.org/, do not add this last words(source problem)):

Pycharm download & verify the cuda/cudnn
- Change the env to the pytorch created former, then run the following code in pycharm:
import torch
print(torch.cuda.is_available())
print(torch.backends.cudnn.is_available())
print(torch.cuda_version)
print(torch.backends.cudnn.version())

参考
- https://blog.youkuaiyun.com/didiaopao/article/details/119787139
本文档介绍了如何在拥有GTX1050显卡的设备上更新NVIDIA驱动,下载Anaconda并基于它安装PyTorch。详细步骤包括从指定链接下载Anaconda,创建用于PyTorch的环境,激活环境,更改源,并检查CUDA和CUDNN的支持情况。在PyCharm中运行代码验证CUDA和CUDNN是否可用及其版本。

被折叠的 条评论
为什么被折叠?



