- 博客(35)
- 收藏
- 关注
原创 (转载)windows + anaconda + pycharm + nvidia + cuda + cudnn + pytorch 安装教程
下载之后,解压缩,将CUDNN压缩包里面的bin、include、lib文件直接复制到CUDA的安装目录下(C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2)。操作:右下角NVIDIA —— 右键 —— NVIDIA控制面板 —— 系统信息 —— 组件。操作:开始 —— 右键 —— 设备管理器 —— 显示适配器。去CUDNN官网下载cuda10.2版本对应的cudnn。去CUDA官网下载cuda10.2版本。按照安装提示默认安装即可。
2024-04-22 16:48:32 426
原创 下载ImageNet 2012 数据集(ILSVRC2012),解压归类的简单操作
导航到脚本所在的目录: 使用cd命令,将终端的当前工作目录更改为包含 extract_ILSVRC.sh 文件的目录。完成以上操作后,train和val文件夹就处理好啦 > -
2024-03-11 17:51:59 656 2
转载 训练集、验证集、测试集(附:分割方法+交叉验证)
训练集(Training Dataset)是用来训练模型使用的。在《一文看懂机器学习》里我们介绍了机器学习的7个步骤,训练集(Training Dataset)主要在训练阶段使用。当我们的模型训练好之后,我们并不知道他的表现如何。这个时候就可以使用验证集(Validation Dataset)来看看模型在新数据(验证集和测试集是不同的数据)上的表现如何。同时通过调整超参数,让模型处于最好的状态。评估模型效果,为了调整超参数而服务调整超参数,使得模型在验证集上的效果最好。
2023-07-17 21:02:34 466
转载 Python画图plt的 text()方法的使用
https://blog.csdn.net/u011808596/article/details/121336096?spm=1001.2014.3001.5506
2023-03-29 10:35:13 2266
转载 torch.cuda.is_available()返回false——解决办法
torch.cuda.is_available()返回false——解决办法
2023-03-28 11:33:47 121
转载 【安装库】WARNING: A newer version of conda exists.
(119条消息) 【安装库】WARNING: A newer version of conda exists._一拳Marx的博客-CSDN博客
2023-03-17 12:17:46 1993
原创 if init_pred.item() != target.item(): ValueError: only one element tensors can be converted to Pytho
if init_pred.item() != target.item(): ValueError: only one element tensors can be converted to Python
2022-11-14 11:49:32 329
原创 No module named ‘scipy.integrate‘; ‘scipy‘ is not a packageNo module named ‘scipy.integrate‘; ‘scipy
No module named 'scipy.integrate'; 'scipy' is not a packageNo module named 'scipy.integrate'; 'scipy' is not a package
2022-10-08 10:35:49 583
原创 已成功配置GPU 的MAC-成功解决torch.load with map_location=torch.device(“cpu”) to map your storages to the CPU
成功解决torch.load with map_location=torch.device(“cpu”) to map your storages to the CPU
2022-10-03 11:51:00 644 1
原创 invalid literal for int() with base 10: ‘.DS_Store‘如何删除 DS_Store 文件
invalid literal for int() with base 10: '.DS_Store'
2022-10-02 01:19:13 662
转载 Windows-python下numpy不成功
https://www.zhihu.com/question/29521273/answer/45914661
2022-09-30 01:56:44 58
原创 Input 0 of layer sequential is incompatible with the layer
Input 0 of layer sequential is incompatible with the layer: expected axis -1 of input shape to have value 3 but received input with shape (None, 48, 48, 4)
2022-09-28 11:43:21 1455
转载 python-图像分类数据集,给三级目录里的文件打标签,并且标签根据第二级级目录自动生成
图像分类数据集,给三级目录里的文件打标签,并且标签根据第二级级目录自动生成
2022-09-05 09:50:53 415
原创 [py,mse] = svmpredict(y,x,model) py为空
[py,mse] = svmpredict(y,x,model) py为空![Alt][py,mse] = svmpredict(y,x,model)改成[py,mse,decision_values] = svmpredict(y,x,model)即可运行成功啦,多加一个参数。居中的图片: 居中并且带尺寸的图片: 当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。如何插入一段漂亮的代码片去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.// An highlig
2020-08-02 10:27:37 249
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人