AttributeError: module 'tensorflow' has no attribute 'placeholder'
에러 메세지
AttributeError: module 'tensorflow' has no attribute 'placeholder'
해결 방법
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
WARNING 뜬당
WARNING:tensorflow:From C:\Users\alro9\anaconda3\lib\site-packages\tensorflow\python\compat\v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
'🔨삽질' 카테고리의 다른 글
[solved] 작업관리자에서 크롬 옆에 있는 숫자는 뭘까? (0) | 2020.06.09 |
---|---|
[solved] AttributeError: module 'tensorflow._api.v2.lite' has no attribute 'interpreter' (0) | 2020.06.08 |
[solved] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (0) | 2020.06.08 |
[solved] 깃허브에 잔디가 안 심어진다! (0) | 2020.05.31 |
[solved] build.gradle (Module: app) 이 없다! (0) | 2020.05.30 |
댓글
이 글 공유하기
다른 글
-
[solved] AttributeError: module 'tensorflow._api.v2.lite' has no attribute 'interpreter'
[solved] AttributeError: module 'tensorflow._api.v2.lite' has no attribute 'interpreter'
2020.06.08 -
[solved] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
[solved] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
2020.06.08 -
[solved] 깃허브에 잔디가 안 심어진다!
[solved] 깃허브에 잔디가 안 심어진다!
2020.05.31 -
[solved] build.gradle (Module: app) 이 없다!
[solved] build.gradle (Module: app) 이 없다!
2020.05.30