上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 72 下一页
摘要: np.append()函数用法 阅读全文
posted @ 2020-08-17 22:01 Picassooo 阅读(1225) 评论(0) 推荐(0)
摘要: 本文摘自前两个截图来自python--之np.delete 阅读全文
posted @ 2020-08-17 21:52 Picassooo 阅读(602) 评论(0) 推荐(0)
摘要: 一. 普通全连接神经网络的计算过程 假设用全连接神经网络做MNIST手写数字分类,节点数如下: 第一层是输入层,784个节点; 第二层是隐层,100个节点; 第三层是输出层,10个节点。 对于这个神经网络,我们在脑海里浮现的可能是类似这样的画面: 但实际上,神经网络的计算过程,本质上是输入向量(矩阵 阅读全文
posted @ 2020-08-14 21:13 Picassooo 阅读(10432) 评论(0) 推荐(3)
摘要: 注:本篇博客介绍的方法有点繁琐,建议采用另外一篇博客中介绍的方法:Pycharm远程连接服务器(或者docker) 第一步:配置deployment 点击 tools --> Deployment --> Configuration 弹出如下对话框,点击左上角的 ‘+’,选择SFTP,,在弹出的小对 阅读全文
posted @ 2020-08-14 11:00 Picassooo 阅读(5827) 评论(0) 推荐(1)
摘要: Pytorch之permute函数 阅读全文
posted @ 2020-08-13 19:48 Picassooo 阅读(470) 评论(0) 推荐(0)
摘要: torch.nn.lstm()接受的数据输入是(序列长度,batchsize,输入维数),使用batch_first=True,可以使lstm接受维度为(batchsize,序列长度,输入维数)的数据输入,同时,lstm的输出数据维度也会变为batchsize放在第一维(可参考这篇博客)。 阅读全文
posted @ 2020-08-13 12:03 Picassooo 阅读(2652) 评论(0) 推荐(0)
摘要: 在用PyTorch保存模型时,常常会遇到UserWarning: Couldn't retrieve source code for container of type Net. It won't be checked for correctness upon loading."type " + o 阅读全文
posted @ 2020-08-12 13:08 Picassooo 阅读(2314) 评论(0) 推荐(0)
摘要: airflights passengers dataset下载地址https://raw.githubusercontent.com/jbrownlee/Datasets/master/airline-passengers.csv 这个dataset包含从1949年到1960年每个月的航空旅客数目, 阅读全文
posted @ 2020-08-12 13:00 Picassooo 阅读(1430) 评论(0) 推荐(0)
摘要: 数据归一化 minmax_scale()函数解析 例子: import numpy as np from sklearn.preprocessing import MinMaxScaler a = np.arange(20).reshape(4, 5) ms = MinMaxScaler(featu 阅读全文
posted @ 2020-08-11 13:44 Picassooo 阅读(4448) 评论(0) 推荐(0)
摘要: scikit-learn数据预处理fit_transform()与transform()的区别 阅读全文
posted @ 2020-08-11 13:41 Picassooo 阅读(466) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 72 下一页