15 新建torch环境一般命令

新建torch常用命令

  • source activate base
  • conda create -n <env_name> python=3.6
  • conda activte <env_name>
  • conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch / conda install pytorch1.8.0 torchvision0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge(3090)
  • pip install tensorboard / pip install tensorboardX
  • conda install opencv
  • pip install tqdm
  • pip install matplotlib

暂时就这些,有的话再补充

posted @ 2021-11-22 16:47  SethDeng  阅读(87)  评论(0编辑  收藏  举报