码迷,mamicode.com
首页 > 其他好文 > 详细

tensorflow-TFRecord报错ValueError: Protocol message Feature has no "feature" field.

时间:2019-03-17 13:32:31      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:toc   单词   有一个   编写   flow   mes   erro   error   结构   

编写代码用TFRecord数据结构存储数据集信息是报错:ValueError: Protocol message Feature has no "feature" field.或和这个错误非常类似的错误。

请检查

features=tf.train.Features(feature={...}

里面有没有单子写错。如果有一个单词写错都会报和上面类似的错误

tensorflow-TFRecord报错ValueError: Protocol message Feature has no "feature" field.

标签:toc   单词   有一个   编写   flow   mes   erro   error   结构   

原文地址:https://www.cnblogs.com/bestExpert/p/10546274.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!