tensorflow制作tfrecords文件TypeError: '*' has type str, but expected one of: bytes问题的解决

我得程序中定位到的出错位置在这tf.train.Feature(bytes_list=tf.train.BytesList(value=[v])) 意思是v不能为字符串类型,但是查询了各种各样的制作tfrecords文件的时候发现这里就是字符串类型 解决: 从这个教程中看到了解决办法 https://www.grt1st.cn/posts/tensorflow-with-tfrecords/ 上面
相关文章
相关标签/搜索