求一份基于paddle1.7版手写数字识别案例
收藏
求哪位前辈分享一份基于paddle 1.7 的 手写数字识别案例,谢谢!
已尝试把官网案例中的fc函数改成Linear函数后,下面的不知道怎么改了,卡在交叉熵损失函数这
如:
#使用交叉熵损失函数,描述真实样本标签和预测概率之间的差值
cost = fluid.layers.cross_entropy(input=predict, label=label)
0
收藏
请登录后评论
https://aistudio.baidu.com/aistudio/projectdetail/78958
谢谢!可以了
但是需要把spyder关掉后重启,否则在 hidden1 = fluid.layers.fc(input=input, size=100, act='relu') 会报如下错误:
C++ Call Stacks (More useful to developers): -------------------------------------------- Windows not support stack backtrace yet.
官方文档就有
当时我也卡在这里,动态图里用Linear代替了FC,需要指明输入的维度。但后面一执行到求loss就出错。
【下面是我写的一些小贴,有空可以fork玩玩(项目列表)】
训练数据太少?过拟合?一文带你领略“数据增长魔法”(上) (https://aistudio.baidu.com/aistudio/projectdetail/408059)
训练数据太少?过拟合?一文带你领略“数据增长魔法”(下) (https://aistudio.baidu.com/aistudio/projectdetail/422256)
一文帮你理解用Paddle训练模型的原理1-手写回归模型 (https://aistudio.baidu.com/aistudio/projectdetail/367090)
一文帮你理解用Paddle训练模型的原理2-权值可视化(VisualDL) (https://aistudio.baidu.com/aistudio/projectdetail/386954)
来AI Studio互粉吧~等你哦~ https://aistudio.baidu.com/aistudio/personalcenter/thirdview/76563
好的,感谢,感谢
看看这个 https://www.paddlepaddle.org.cn/tutorials/projectdetail/341639
稍微进阶之后看后面整个一个系列的内容