为了账号安全,请及时绑定邮箱和手机立即绑定

各位大佬,请问这个问题怎么解决,拜托

各位大佬,请问这个问题怎么解决,拜托

慕容9012469 2018-11-13 16:00:49
  File "F:/MyDownloads/神经网络 激活函数/一篇论文/实验/新建文件夹/第七章/lenet5/lenet5/mnist_lenet5_backward.py", line 24, in backward    y = mnist_lenet5_forward.forward(x,True, REGULARIZER)  File "F:\MyDownloads\神经网络 激活函数\一篇论文\实验\新建文件夹\第七章\lenet5\lenet5\mnist_lenet5_forward.py", line 71, in forward    if train: fc1 = my_dropout_tf(fc2_w, fc1)  File "F:\MyDownloads\神经网络 激活函数\一篇论文\实验\新建文件夹\第七章\lenet5\lenet5\mnist_lenet5_forward.py", line 30, in my_dropout_tf    rel =np.corrcoef(e)  File "D:\program files\xin\anaconda\lib\site-packages\numpy\lib\function_base.py", line 3175, in corrcoef    c = cov(x, y, rowvar)  File "D:\program files\xin\anaconda\lib\site-packages\numpy\lib\function_base.py", line 3085, in cov    avg, w_sum = average(X, axis=1, weights=w, returned=True)  File "D:\program files\xin\anaconda\lib\site-packages\numpy\lib\function_base.py", line 1163, in average    if scl.shape != avg.shape:AttributeError: 'float' object has no attribute 'shape'
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1108 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信