4. 파이썬 오류 처리
페이지 정보
작성자 관리자 댓글 0건 조회 4,928회 작성일 19-01-19 19:41본문
파일명 : keras-test.py
from keras.models import Sequential
model = Sequential()
> python keras-test.py
FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
위의 오류 발생시 numpy를 버전을 낮춘다.
> pip install numpy==1.13.3
Collecting numpy==1.13.3
Downloading https://files.pythonhosted.org/packages/e9/7c/5665454a5cea3db586b315fa167d4b8b7963fdcc98c3b6578bc5eb4e6153/numpy-1.13.3-cp36-none-win_amd64.whl (13.1MB)
100% |████████████████████████████████| 13.1MB 50kB/s
Installing collected packages: numpy
Found existing installation: numpy 1.14.3
Uninstalling numpy-1.14.3:
Successfully uninstalled numpy-1.14.3
Successfully installed numpy-1.13.3
댓글목록
등록된 댓글이 없습니다.