- 博客(2)
- 收藏
- 关注
原创 “ “*char *“ 类型的实参与 “PWSTR“ 类型的形参不兼容 ”参考解决办法
这种问题是编码问题引起的,这里说下我是怎么解决的这里博主用的ide是vs2019项目===》属性===》配置属性===》高级===》高级属性===》字符集:不要选择‘使用Unicode字符集’
2020-07-02 13:45:38 1155
转载 RuntimeError: The Session graph is empty. Add operations to the graph before calling run()解决方法
安装了tensorflow后运行一下测试代码,代码如下:import tensorflow as tfhello = tf.constant('hello,tensorflow')sess = tf.Session()print(sess.run(hello))然而运行结构报错,错误信息如下:AttributeError: module ‘tensorflow’ has no attribute 'Session'查阅信息,的值应该将Session的语句改为:sess = tf.comp
2020-06-30 17:46:42 1659 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人