警告信息

WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x000001805B549780>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x000001805B549A58>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018053049C18>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018051AAFC50>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018051AC6B00>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x000001807CD9DBE0>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018051AA6208>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018051AA6748>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x000001804CB62E10>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x000001805A1B8F60>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x00000180530F16A0>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.python.eager.function.TfMethodTarget object at 0x0000018051AD1080>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4

系统环境

  • TensorFlow 2.0.0rc1
  • Windows 10
  • gast 0.3.2

解决方案

大约在每次调用model.fitmodel.evaluate等函数时,会莫名有如上警告。
根据网友 ravikyram [1] 的建议,降低库gast的版本可解决此问题:

pip install gast==0.2.2

Reference

  1. ravikyram. (September 10, 2019). TF2.0 AutoGraph issue. Retrieved from https://github.com/tensorflow/tensorflow/issues/32377

[警告] [TensorFlow] Cause: module 'gast' has no attribute 'Num'相关推荐

  1. module ‘gast‘ has no attribute ‘Num‘ 警告

    运行程序有以下WARNING: module 'gast' has no attribute 'Num' WARNING:tensorflow:Entity <bound method Mult ...

  2. python efficientdet AttributeError: module ‘gast‘ has no attribute ‘Num‘

    今天在用efficientDet跑模型的时候,出现了下面的警告: WARNING:tensorflow:Entity <bound method RegressBoxes.call of < ...

  3. TensorFlow 警告Cause: module 'gast' has no attribute 'Num'

    警告信息 WARNING:tensorflow:Entity <bound method TensorFlowOpLayer._defun_call of <tensorflow.pyth ...

  4. 【Bug】AttributeError: module ‘gast‘ has no attribute ‘Index‘

    pe self._apply(transformer, node_wrapper, log_level=index + 1) File "/home/ubuntu/anaconda3/env ...

  5. “import gaminet”,出现报错AttributeError:module gast has no attribute Constant

    · 问题描述:在Anaconda3 Prompt中用pip install gaminet安装好gaminet后,回到jupyter notebook中,运行import gaminet,出现报错:A ...

  6. 【BUG】AttributeError: module ‘gast‘ has no attribute ‘Index’

    1.问题:AttributeError: module 'gast' has no attribute 'Index' 2.解决方法: 原因:gast版本过高 pip install gast==0. ...

  7. NVIDIA Jetson Xavier NX上导入tensorflow报错:AttributeError: module ‘wrapt‘ has no attribute ‘ObjectProxy‘

    欢迎大家关注笔者,你的关注是我持续更博的最大动力 原创文章,转载告知,盗版必究 在Jetson Xavier NX上导入tensorflow报错:AttributeError: module 'wra ...

  8. 成功解决AttributeError: module 'tensorflow.python.training.training' has no attribute 'SummaryWriter'

    成功解决AttributeError: module 'tensorflow.python.training.training' has no attribute 'SummaryWriter' 目录 ...

  9. 成功解决AttributeError: module 'tensorflow.python.ops.nn' has no attribute '_seq2seq'

    成功解决AttributeError: module 'tensorflow.python.ops.nn' has no attribute '_seq2seq' 目录 解决问题 解决思路 解决方法 ...

最新文章

  1. MyBatis的架构设计以及实例分析--转
  2. C++Primer Plus (第六版)阅读笔记 + 源码分析【第四章:复合类型】
  3. settype where used list - set type where use list - equipment download environme
  4. python怎么创建变量_python怎么创建变量
  5. 中关村windows11 32位专业版镜像v2021.07
  6. java scri p t_深入浅析JavaScript中数据共享和数据传递_javascri
  7. vrrp 的mac是怎么算出来的_宇宙总质量约10^55kg,与大家掰一掰是怎么算出来的
  8. 前端ajax token,jQury Ajax使用Token验证身份实例代码_白江_前端开发者
  9. paip.提升稳定性---c3p0数据库连接池不能取到连接An attempt by a client to checkout a Connection has timed out
  10. 为什么计算机的游戏打开不了,为什么电脑桌面游戏菜单打不开
  11. 使用Excel进行线性规划
  12. php cryptojs解密,CryptoJS加密Go解密
  13. 一键安装包php.ini,laravel 在windows中使用一键安装包步骤
  14. websphere html 缓存,如何清除WebSphere类缓存
  15. 电脑开机显示无法自动修复计算机,电脑开机提示自动修复怎么办?
  16. 七、VUE基础——悦听音乐播放器案例(vue+axios)
  17. 成都托普计算机职业技术怎么样学校,成都中职学校前景怎么样
  18. 我所收藏的重点大学BBS资源 .
  19. teamviewer出现商业用途的解决办法
  20. 开源集市@中关村|气氛热烈,完美收官!

热门文章

  1. impala 实现滑动累计求和
  2. 第九章 DLL文件 windows程序设计 王艳平版
  3. 比特位计数--C++ bitset 用法
  4. OSPF 和 ISIS对比
  5. conda command not found的两种解决方案
  6. 博客园个人首页样式设置
  7. python 柱状图标出y值_Python——pyecharts数据可视化
  8. 阿里技术行丨未来已来新零售技术沙龙报名启动!
  9. Linux设置启动图标
  10. Windows ,