파이썬 텐서플로 문제 module 'tensorflow' has no attribute 'disable_v2_behavior' 해결법


파이썬 텐서플로 문제 module 'tensorflow' has no attribute 'disable_v2_behavior' 해결법

(Python)파이썬 텐서플로 module 'tensorflow' has no attribute 'disable_v2_behavior' 해결법파이썬 텐서플로 강의를 보며 따라서 코드를 치다보면 강의에서는 구버젼을 사용하고, 자신은 신버젼을 사용하기때문에 기존의 코드가 적용이 안되는 경우가 종종 있다. 대표적인 예로 텐서플로를 import하여 실행하면 module 'tensorflow' has no attribute 'disable_v2_behavior' error 가 뜨면서 모듈이 없어 실행되지 않는 다.이러한 문제는 신버젼이 아닌 구 버젼을 사용함으로써 해결을 할 수 있다. 공식 홈페이지에 올라와 있는 내용을 토대로 설명을 하면 신버젼을 사용하는 사람은 아래처..........



원문링크 : 파이썬 텐서플로 문제 module 'tensorflow' has no attribute 'disable_v2_behavior' 해결법