Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm

Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm

NVIDIA Driver update/download

  • GPU: GTX 1050
    Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm
  • Driver version
    Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm

Anaconda-based pytorch packages download

  • download from here: https://blog.csdn.net/didiaopao/article/details/119787139
  • Create a env for latter useage(named after pytorch): Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm
  • Activate the env: Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm
  • Change the source(For sake of saving time): Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm
  • Check for version support(From this site https://pytorch.org/, do not add this last words(source problem)):
    Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm

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())

Object Detector Env Preparation: Pytorch + Yolo + Anaconda + Pycharm

参考

  • https://blog.csdn.net/didiaopao/article/details/119787139
上一篇:nginx 实现文件下载


下一篇:人工智能与模式识别作业2:利用贝叶斯分类器实现基于身高的性别分类