jupyter notebook 添加目录
jupyter notebook 添加目录 1、安装拓展插件 conda install -c conda-forge jupyter_contrib_nbextensions 2、刷新jupyter notebook - 点击新增的 Nbextensions 栏 - 搜索 toc - 勾选下搜索出来的 Table of Contents (2) …
linux 下安装 torch0.4.0
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的时候,Sending build context to Docker daemon 4.631GB 默认情况下,docker build 会将 dockerfile 文件所在目录下所有文件都发送到Docker daemon中,一般建议单独建dockerfile目录,然后自己需要在build过程用到的文件就放到该目录下。 你…
pip install安装包不安装其他依赖设置
pip install安装包不安装其他依赖设置 最近安装 keras 包时,指定版本后总是会安装其他依赖,特别是会自动安装 tensorflow 最高版本,明明我已经有个tf gpu版本了,却还会给我安装个cpu版本,头疼。 查了下,pip 安装的时候可以指定不安装包对应的其他依赖,设置--no-dependencies即可 。 pip insta…
jupyter 添加/删除kernel
jupyter 添加/删除kernel 查看kerel jupyter kernelspec list 添加kernel # 创建一个新环境 现在我喜欢用conda conda create -n py38 python=3.8 conda activate py38 # 在新环境中安装 ipykernel pip install ipykerne…
jupyterlab/jupyter notebook 上使用ipywidgets和组件不显示问题
jupyterlab/jupyter notebook 上使用ipywidgets 今天给大家分享下最近遇到的一个编程小问题,在jupyterlab下ipywidgets组件无法显示。 首先推荐大家使用conda去管理虚拟环境,这样我们安装系统依赖也可以使用conda会方便很多,而且conda使用不限制系统。 jupyterlab 安装ipywid…
git 团队协作常用命令和流程
git 团队协作常用命令和流程 - git clone 将项目从github/gitee 下载到本地 git clone -b 分支名称 项目git链接 如:git clone -b xxx https://github.com/XksA-me/DingdingBot.git - git add 将当前目录下修改的所有代码从工作区添加到缓存区 gi…