
人工智能
xdfwsl
真知困而得,峰高无坦途!
展开
-
Pycharm jupyter server process exited with code 1
【代码】Pycharm jupyter server process exited with code 1。原创 2024-03-19 03:48:58 · 1934 阅读 · 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 · 1122 阅读 · 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 ConfigProtofrom tensorflow.原创 2020-08-18 10:22:04 · 781 阅读 · 2 评论 -
Windows10安装gpu版本的tensorflow|超精简有图仅要点|tensorflow-gpu
在cmd中使用命令来安装python3.7: conda create -n py37 python=3.7 anacondaconda activate py37cuda安装注意自定义去掉vs选项cudnn记得配置环境变量pathYou can list all discoverable environments with conda info --envs.conda info --envsconda activate py37pip ...原创 2020-08-18 09:45:23 · 235 阅读 · 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/wslCUDA on WSL User GuideThe guide for using NVIDIA CUDA on Windows Subsystem for L...原创 2020-08-18 09:36:14 · 7301 阅读 · 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 · 503 阅读 · 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 · 554 阅读 · 0 评论 -
jupyter notebook自动补全/代码提示
pip install jupyter_contrib_nbextensionsjupyter contrib nbextension install --userpip install --user jupyter_nbextensions_configuratorjupyter nbextensions_configurator enable --user原创 2020-08-13 16:36:49 · 1435 阅读 · 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 -Upip config set global.index-url https://pypi.tuna....原创 2020-08-13 15:44:14 · 2304 阅读 · 0 评论 -
测试tensorflow是否支持GPU
import tensorflow as tftf.config.list_physical_devices(‘GPU’)原创 2020-08-13 15:41:30 · 313 阅读 · 0 评论