人工智能
xdfwsl
真知困而得,峰高无坦途!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Pycharm jupyter server process exited with code 1
【代码】Pycharm jupyter server process exited with code 1。原创 2024-03-19 03:48:58 · 2316 阅读 · 1 评论 -
conda 切换为国内源
添加清华源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaco原创 2020-11-09 14:14:04 · 1222 阅读 · 0 评论 -
“Failed to get convolution algorithm. This is probably because cuDNN failed to initialize”错误解决方案
最近在使用TF2.0。运行程序出现以下错误。 Failed to get convolution algorithm. This is probably because cuDNN failed to initialize 一开始怀疑是CUDA和CuDNN配置错误(要求版本匹配)。反复试验后,还是有这个错误。 最后发现可能是GPU显存不足造成的。需要在程序前加以下一段代码: from tensorflow.compat.v1 import ConfigProto from tensorflow.原创 2020-08-18 10:22:04 · 863 阅读 · 2 评论 -
Windows10安装gpu版本的tensorflow|超精简有图仅要点|tensorflow-gpu
在cmd中使用命令来安装python3.7: conda create -n py37 python=3.7 anaconda conda activate py37 cuda安装注意自定义去掉vs选项 cudnn记得配置环境变量path You can list all discoverable environments with conda info --envs. conda info --envs conda activate py37 pip ...原创 2020-08-18 09:45:23 · 276 阅读 · 0 评论 -
Windows10 linux子系统上安装CUDA|GPU加速|TENSORFLOW
GPU - CUDA - Windows Subsystem for Linux (WSL) GPU in Windows Subsystem for Linux (WSL)CUDA on Windows Subsystem for Linux (WSL)https://developer.nvidia.com/cuda/wsl CUDA on WSL User Guide The guide for using NVIDIA CUDA on Windows Subsystem for L...原创 2020-08-18 09:36:14 · 7438 阅读 · 0 评论 -
tensorflow版本支持一键转化为2.0版本
TensorFlow 2.0 includes many API changes, such as reordering arguments, renaming symbols, and changing default values for parameters. Manually performing all of these modifications would be tedious and prone to error. To streamline the changes, and to make原创 2020-08-13 18:04:17 · 561 阅读 · 0 评论 -
Jupyter Notebook 远程访问配置
问题 Jupyter Notebook可以说是非常好用的小工具,但是不经过配置只能够在本机访问 笔者参阅了文档对jupyter notebook进行配置,实现了跨主机浏览器访问 安装jupyter notebook 笔者使用conda包管理 conda install jupyter notebook 生成默认配置文件 jupyter notebook --generate-config 将会在用户主目录下生成.jupyter文件夹,其中jupyter_notebook_c..原创 2020-08-13 17:14:18 · 664 阅读 · 0 评论 -
jupyter notebook自动补全/代码提示
pip install jupyter_contrib_nbextensions jupyter contrib nbextension install --user pip install --user jupyter_nbextensions_configurator jupyter nbextensions_configurator enable --user原创 2020-08-13 16:36:49 · 1487 阅读 · 0 评论 -
清华大学pip镜像使用方法
pypi 镜像使用帮助 pypi 镜像每 5 分钟同步一次。 临时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package 注意,simple不能少, 是https而不是http 设为默认 升级 pip 到最新的版本 (>=10.0.0) 后进行配置: pip install pip -U pip config set global.index-url https://pypi.tuna....原创 2020-08-13 15:44:14 · 2862 阅读 · 0 评论 -
测试tensorflow是否支持GPU
import tensorflow as tf tf.config.list_physical_devices(‘GPU’)原创 2020-08-13 15:41:30 · 352 阅读 · 0 评论
分享