当前位置:
首页 >
module ‘gast‘ has no attribute ‘Num‘ 警告
发布时间:2023/12/29
42
豆豆
生活随笔
收集整理的这篇文章主要介绍了
module ‘gast‘ has no attribute ‘Num‘ 警告
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
运行程序有以下WARNING: module 'gast' has no attribute 'Num'
WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method MultiRNNCell.call of <tensorflow.python.ops.rnn_cell_impl.MultiRNNCell object at 0x0000020529AD6108>>: AttributeError: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method MultiRNNCell.call of大多数的解决方法是:降低 'gast' 版本至0.2.2
因为我用的是pycharm虚拟环境,直接下老版本就可以:
好像是老问题解决了,实际上蹦出了更多的问题,无语。
测试了一下:
'gast'==0.2.2,警告:could not be transformed and will be executed as-is
'gast'==0.3.2,警告:module 'gast' has no attribute 'Num'
'gast'==0.3.3,警告:module 'gast' has no attribute 'Num'
'gast'==0.5.2,警告:module 'gast' has no attribute 'Num'
虽然结果能跑出来,但是红色的警告一大堆。
总结
以上是生活随笔为你收集整理的module ‘gast‘ has no attribute ‘Num‘ 警告的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 考研-英语经验贴(总结)
- 下一篇: 移动web的适配