自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 (记录)报错:ValueError: Input 0 of layer conv2d is incompatible with the layer: : expected min_ndim=4, fo

神经网络作业过程错误记录:完整报错:ValueError: Input 0 of layer conv2d is incompatible with the layer: : expected min_ndim=4, found ndim=3. Full shape received: [32, 28, 28]报错原因:所需输入最小维度为4——min_ndim=4;当前维度为3——found ndim=3。解决问题:增加维度输入 x_train = np.expand_dims(.

2022-04-17 11:06:49 3741 1

原创 (记录)tensorflow.keras.models.Sequential和输入层InputLayer以及dense层个人理解

model = models.Sequential()model.add(layers.Dense(64, activation='relu', input_shape=(10000,)))model.add(layers.Dense(64, activation='relu'))model.add(layers.Dense(46, activation='softmax'))神经网络模型的构建通常由输入层,隐藏层和输出层构成其中,输出层的激活函数通常为softmax对神经网络全连接层.

2022-04-13 08:43:40 2809 1

原创 神经网络作业问题(记录)

遇到的问题:MemoryError: Unable to allocate 1.86 GiB for an array with shape (25000, 10000) and data type float64打开电脑设置

2022-04-09 19:35:15 1397

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除