- 博客(8)
- 资源 (3)
- 收藏
- 关注
原创 批量读取txt文件长度并写入新文件
#!/usr/bin/python# -*- coding: utf-8 -*-import osfilePath = 'test/'fileType = 'txt'fileLists = os.listdir(filePath) file = open('lenList.txt','w')for txt in fileLists: total_num = len(fileLists) with open(filePath+txt, 'r') as f: .
2022-01-18 12:53:29
709
原创 tensorflow-gpu安装,虚拟环境下载cuda,cudnn
1.在虚拟环境下下载cuda和cudnn,并安装tensorflow-gpu。参考以下博文,可行。多环境安装,虚拟环境中的Tensorflow-gpu以及cuda及cudnn安装Windows_打酱油的劫少博客-优快云博客2.直接用conda install tensorflow-gpu=1.12.0,同样可行,并且无需自行下载cuda和cudnn。conda会直接下载当前适用版本的cuda和cudnn。可行参考来自(页面最下方)Python 工具 之 tensorflow gpu 环境.
2022-01-17 15:12:51
1003
原创 win10 anaconda tensorflow-gpu安装
确认GPU nvcc –version 确定CUDA版本 参考https://www.tensorflow.org/install/source_windows 确定对应CuDNN版本以及tensorflow-gpu, python版本 安装anaconda :https://repo.anaconda.com/archive/(添加环境变量)5. 官网下载对应版本CuDNN(6-1. 解压缩并复制相应文件到cuda文件夹中 )Win10安装CUDA10和cuDNN_我要,我要,我还
2021-11-23 20:55:44
1084
原创 AttributeError: ‘version_info‘ object has no attribute ‘__version__‘
1.anaconda search -t conda sessioninfo出现可下载列表,选择平台以及版本适合的那个2.anaconda show xxx(xxx粘贴上面那个名字)3.复制最后的下载语句貌似解决了,总之没有再出现该问题
2021-11-22 16:29:30
4751
5
原创 Anaconda安装包时PackageNotFoundError
Anaconda找包,安装包时,遇到PackageNotFoundError: ''Package missing in current channels"_ZeroZone零域的博客-优快云博客y
2021-11-22 15:32:49
279
原创 python 读取 MNIST 解析为图片文件和PermissionError解决
解决PermissionError:解决PermissionError: [Errno 13] Permission denied: './data\\mnist\\train-images-idx3-ubyte'_文科升的博客-优快云博客python 读取 MNIST 数据集,并解析为图片文件https://xinancsd.github.io/MachineLearning/mnist_parser.html...
2021-11-16 16:09:36
1356
FLIR ONE PRO 中文手册
2019-01-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人