小编Lig*_*ght的帖子

NameError: name 'sess' is not defined

I am running python program under tensorflow. When I input sess.run(),the command line prompt me that NameError: name 'sess' is not defined

print(sess.run(W_conv1))
Traceback (most recent call last):

  File "<ipython-input-17-cf7d3892efbb>", line 1, in <module>
    print(sess.run(W_conv1))

NameError: name 'sess' is not defined
Run Code Online (Sandbox Code Playgroud)

python-3.x tensorflow

3
推荐指数
1
解决办法
7973
查看次数

标签 统计

python-3.x ×1

tensorflow ×1