安装使用 nvidia docker 首先确保你自己电脑/服务器中安装了nvidia驱动。 安装方法 distribution=$(. /etc/os-release;echo $ID$VERSION_ID) curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-ke…
nltk_data搜索路径 Searched in: - '/root/nltk_data' - '/root/miniconda3/envs/myconda/nltk_data' - '/root/miniconda3/envs/myconda/share/nltk_data' - '/root/miniconda3/envs/myconda/l…
ubuntu PyMOL安装 PyMOL是由著名计算机辅助药物设计开发商Schrödinger公司推出的蛋白质可视化软件。 https://pymol.cookbook.huzheyang.cn/basic/install.html windows下可以下载 whl 文件进行pip安装。 https://www.lfd.uci.edu/~gohlk…
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize https://stackoverflow.com/questions/53698035/failed-to-get-convolution-algorithm-this-…
AttributeError:module os l has no attribute sched getaffinity Python 中的 os.sched _ getaffinity() 方法用于获取具有指定进程 id 的进程可以在其上运行的 CPU 集。 该方法好像只有在部分 UNIX 平台才支持。
这个教程可行 https://blog.csdn.net/u011119817/article/details/119006386
Pytorch tensor 矩阵转置方法 直接贴官方文档啦 多维矩阵转置: torch.transpose(input, dim0, dim1) → Tensor - input (Tensor) – the input tensor. - dim0 (int) – the first dimension to be transposed - d…
jupyter notebook 添加目录 1、安装拓展插件 conda install -c conda-forge jupyter_contrib_nbextensions 2、刷新jupyter notebook - 点击新增的 Nbextensions 栏 - 搜索 toc - 勾选下搜索出来的 Table of Contents (2) …
linux 下安装 torch0.4.0 必要条件:cuda9 conda create -n py36 python=3.6 conda activate py36 conda install pytorch=0.4.0 -c pytorch 测试: import torch import time print(torch.__version__…
docker build的时候,Sending build context to Docker daemon 4.631GB 默认情况下,docker build 会将 dockerfile 文件所在目录下所有文件都发送到Docker daemon中,一般建议单独建dockerfile目录,然后自己需要在build过程用到的文件就放到该目录下。 你…