tensorflow:Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labe
来源:互联网 发布:python deap 编辑:程序博客网 时间:2024/05/21 11:23
如题,博主运行第一个 tensorflow程序mnist就遇到了问题2333。
解决办法如下:
把convolutional中的232-233行的 loss = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(logits, train_labels_node))
改为 loss = tf.reduce_mean(tf.nn.sparse_softmax_cross_entropy_with_logits(logits=logits, labels=train_labels_node)),其实就是tf的函数接口有一些儿改动,改过来就好了。
4 0
- tensorflow:Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labe
- ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labels=..., l
- 《TensorFlow实战实例》的一些错误更正ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named a
- Only call `sigmoid_cross_entropy_with_logits` with named arguments解决
- ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=.
- ValueError: Only call `sigmoid_cross_entropy_with_logits` with named arguments (labels=..., logits=.
- ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=.
- Only call 'softmax_cross_entropy_with_logits' with named grguments(labels=...,logits=...)
- tensorflow函数--sparse_softmax_cross_entropy_with_logits
- [tensorflow损失函数系列]sparse_softmax_cross_entropy_with_logits
- tensorflow 中 sparse_softmax_cross_entropy_with_logits 与 softmax_cross_entropy_with_logits区别
- 解决 tensorflow softmax_cross_entropy_with_logits() 报错 Only call `softmax_cross_entropy_with_logits`
- [].join.call(arguments,"\n")
- tensorflow安装问题:No module named pywrap_tensorflow_internal&failed call to cuInit:CUDA_ERROR_NO_DEVICE
- CMake: include called with wrong number of arguments. include() only takes one file.
- No module named tensorflow
- arguments,caller,callee,apply,call
- caller,arguments.callee,call,apply
- 对authentication-manager的多个别名来解决有无MD5编码的问题
- MxCAD5.2 2017.5.4更新
- 五角星评分,利用背景图片,雪碧图来写的
- 1063. 计算谱半径
- Java类加载原理解析
- tensorflow:Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labe
- 关于== 、equals和instanceof方法你想知道的一切——Java
- Web.xml配置详解
- Recyclerview的一些个人理解与使用(五)Recyclerview的联动,时间选择的实现
- V4L2视频
- 学习小甲鱼python总结1
- 数字三角形
- Mac上搭建直播服务器Nginx+rtmp
- mysql开启binlog日志后重启失败