AttributeError: module 'tensorflow' has no attribute 'placeholder'問題

此博客鏈接:https://www.cnblogs.com/ping2yingshi/p/12920537.html 當你出現這個問題時,說明在tf2下使用了tf1的API。 1.參看版本號是否使用錯誤。 在pycharm下,找到工程,然后輸出下面命令參看版本 ...

Wed May 20 07:56:00 CST 2020 4 54562
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM