오류 모음
AttributeError: module 'tensorflow' has no attribute 'set'
창창호
2023. 3. 3. 00:00

위와 같은 오류는 텐서플로우 버전 때문에 생기는 오류이다.
tf.set.random_seed(seed)
위의 코드를 아래의 코드로 변경하면 해결 된다.
tf.random.set_seed(seed)