WARNING:tensorflow:AutoGraph could not transform and will run it as-is. 解决方法
·
将gast装成对应版本就好了
The following versions should work (note that pip install should pull the correct dependencies in TF 2.2 and later):
| TF version | gast version |
|---|---|
| 2.0, 2.1, 2.2 | 0.2.2 |
| 2.3, nightly | 0.3.3 |
使用以下命令确保装对了版本: pip install gast== --force-reinstall.
更多推荐

所有评论(0)