Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 비동기모듈
- aiohttp
- AI #RNN #LSTM #LSTMP #인공지능 #언어학습 #순차학습
- 파이썬
- 선형회귀
- pandas #python #excel #판다스 #파이썬 #엑셀저장 #xlsxwriter
- TensorFlow
- SQL #python #MySQL #PostgreSQL
- 특정값지우기
- python #pandas #data_preprocessing #data_process
- SQL #PostgreSQL
- tf.where
- 판다스 #Pandas #DataFrame #Statistics #통계 #파이썬 #Python #Resample
- Python
- 깃허브
- Github
- AI #Inductive_Bias #Relational_inductive_bias
- fashionmnist
- ngrok
- MachineLearning
- pandas #python #date #datetime
- version_error
- pandas #ewma #python #지수이동가중평균 #파이썬 #판다스 #ema #ewm
- tensorflow #tensorflow-gpu #python #ubuntu #텐서플로우
- mnist
- git
- 시계열데이터
- REST_API
- Asyncio
- 깃
Archives
- Today
- Total
린스토리
[Tensorflow] NotImplementedError: Cannot convert a symbolic Tensor to a numpy array. 본문
Tensorflow/Tensorflow Error
[Tensorflow] NotImplementedError: Cannot convert a symbolic Tensor to a numpy array.
rinaaaLee 2022. 7. 18. 15:37Tensorflow로 실행하다가 제목과 같은 에러가 발생했다.
에러 해결한 방법은 다음과 같다.
Numpy Version 에러
Tensorflow version은 2.5.0 이고, Numpy version은 1.22.3 이었다.
Numpy 버전이 맞지 않아 위와 같은 에러가 나왔고, Numpy 버전을 다운그레이드 해주어야 한다.
우선 기존에 설치되어 있던 numpy를 삭제해주었다.
conda uninstall numpy
그리고 다시 numpy를 설치하는데, 버전을 낮추어 설치하였다.
conda install numpy=1.19.5 -c conda-forge
이렇게 다시 설치해주니 에러없이 문제가 해결되었다.
Comments