[ 오류 원인 ]
- tensorflow 2 버전에서는 지원하지 않는 함수
[ 오류 해결 ]
- tensorflow 버전을 낮추기(1버전으로 낮추어 사용)
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
'Python > MachineLearning' 카테고리의 다른 글
[NLP][ML] 문자열 기반 카테고리 분류 예측 모델 (0) | 2025.01.22 |
---|---|
Tensorflow dataset 'cats_vs_dogs' 이미지 분류 (0) | 2024.04.01 |
[Scikit-Learn] K-최근접 이웃(K-nearest Neightbors, KNN) 알고리즘_분류 (0) | 2022.08.03 |