황찌옹
정리왕옹옹
황찌옹
GitHub Contribution
Loading data ...
  • 분류 전체보기 (158)
    • [ 알고리즘 ] (96)
      • Implementation (24)
      • Brute Force (6)
      • String (4)
      • Greedy (14)
      • DFS, BFS (13)
      • Back Tracking (4)
      • Sort & Binary Search (6)
      • DP (8)
      • Shortest Path (5)
      • Hash (3)
      • Stack, Queue (4)
      • Heap (1)
      • Tree (1)
      • Mathematics (1)
      • Ad-Hoc (1)
      • 기타 (COS Pro, etc) (1)
    • [ 언어 및 문법 ] (23)
      • Python (5)
      • C, C++ (13)
      • SQL (1)
      • 공통 개념(CS) (4)
    • [ Error ] (21)
      • Radiomics Feature Extraction (6)
      • CT Skin Segmentation (12)
      • etc (3)
    • [ Git ] (7)
    • [ 환경 설정 및 기타] (6)
    • [ 공부 ] (2)
      • AI, ML (0)
      • Computer Vision (0)
      • Image Processing (1)
      • QT (0)
      • AWS (1)
      • 의료 (0)
    • [ 포트폴리오 ] (1)
      • 🙋‍♀️자기 소개🙋‍♀️ (1)
      • 프로젝트 (0)
      • 공모전 (0)
      • 자격증 (0)
      • 대내외활동 (0)
      • 논문 (0)
      • 교육 봉사 (0)
    • [ 취준 ] (2)
      • 채용 설명회, 직무 상담 (1)
      • 취준 후기 (1)

블로그 메뉴

  • ❤️깃허브❤️

인기 글

태그

  • numpy
  • cs
  • SQL
  • Visual Studio
  • pyplot
  • cos pro
  • 씹어먹는C++
  • OpenCV
  • QT
  • c++
  • git
  • 모두의코드
  • keras
  • Python
  • aws
  • config
  • Cloud
  • tensorflow
  • Anaconda
  • configuration

최근 댓글

최근 글

전체 방문자
오늘
어제
hELLO · Designed By 정상우.
황찌옹

정리왕옹옹

[ Error ]/CT Skin Segmentation

ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

2022. 8. 4. 01:42

tensorflow 설치 후 python을 실행해서 import keras 했을 때의 오류.
(ImportError: No module named 'tensorflow.keras)

image

이것도 마찬가지로 최신 케라스 버전과 기존에 설치된 텐서플로우 버전이 달라서 생기는 오류인 듯.

 

따라서,

pip install --ignore-installed --upgrade tensorflow==1.6.0 후
pip install keras==2.1.5

이렇게 버전 맞춰서 해결!

 

제대로 설치 되었으면,

image

이렇게 나온다.

 


 

cf. 각각 버전 확인 방법

 

python 실행 후, import tensorflow as tf으로 import 해서, print(tf.__ version __)으로 체크!

 

imageimage

 

 

'[ Error ] > CT Skin Segmentation' 카테고리의 다른 글

OpenCV Error: Assertion failed (src.type() == CV_8UC1) in cv::threshold, file C:\builds\2_4_PackSlave-win64-vc11-shared\opencv\modules\imgproc\src\thresh.cpp, line 719  (0) 2022.08.04
The program has exited with code-1073741701 (0xc000007b) & fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' error  (0) 2022.08.04
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.  (0) 2022.08.04
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.  (0) 2022.08.04
ERROR: tensorboard 2.2.2 has requirement setuptools>=41.0.0, but you'll have setuptools 40.2.0 which is incompatible.  (0) 2022.08.04
    황찌옹
    황찌옹
    다 정리해버리꺼야

    티스토리툴바