환경설정/기타
[Tensorflow] Tensorflow_io 오류 해결
tkxx_ls
2024. 7. 22. 14:14
tensorflow_io를 사용했을 때 실행이 안 되는 오류가 있었습니다.
다양한 오류를 겪었는데 캡쳐는 하지 못했습니다.
오류 해결
- 터미널에 conda update conda로 conda를 업데이트합니다.
- 2024-07-22 기준 Windows에서 python 3.7, 3.8 버전을 사용할 수 있습니다. 저는 3.8을 사용했습니다.
conda create -n <가상환경 이름 > python=3.8 을 입력합니다. - tensorflow-io 를 제외한 모듈을 conda install로 설치합니다.
- conda list tensorflow 로 tensorflow 버전을 확인합니다.
저는 2.10.0이어서 pip install tensorflow_io==0.27.0 으로 했습니다.
- VS Code의 jupyter extension을 다 지웠다가 다시 설치합니다.
참고 자료
GitHub - tensorflow/io: Dataset, streaming, and file system extensions maintained by TensorFlow SIG-IO
Dataset, streaming, and file system extensions maintained by TensorFlow SIG-IO - tensorflow/io
github.com