강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

행복한러너님의 프로필 이미지
행복한러너

작성한 질문수

[개정판] 딥러닝 컴퓨터 비전 완벽 가이드

AutoML EfficientDet 패키지 구성 이해 및 설치하기

google automl efficientdet 다운로드 및 설치 오류

작성

·

29

0

최고의 강의 너무나 감사합니다.

설치 시 에러가 있어 문의드립니다.

!cd /content/automl/efficientdet; pip install -r requirements.txt

note: This error originates from a subprocess, and is likely not a problem with pip.

------------------------------
import inference
# 강의영상에는 from keras import anchors 이지만 efficientdet 패키지의 keras 모듈이 tf2 로 변경됨. 
from tf2 import efficientdet_keras

model = efficientdet_keras.EfficientDetModel(config=config)
model.build((None, None, None, 3))
print('#### checkpoint name:', tf.train.latest_checkpoint(INFER_CFG.model_dir))
model.load_weights(tf.train.latest_checkpoint(INFER_CFG.model_dir))
model.summary()

ValueError: File format not supported: filepath=/content/efficientdet-d0/model. Keras 3 only supports V3 `.keras` and `.weights.h5` files, or legacy V1/V2 `.h5` files.

 

답변 1

0

권 철민님의 프로필 이미지
권 철민
지식공유자

안녕하십니까, 강의 칭찬해 주셔서 감사합니다.

Colab 환경이 계속 업그레이드 되면서 현재 requirements.txt의 package 구성과 뭔가 맞지 않는 것 같은데, 원인 찾는데 시간이 더 걸릴 것 같습니다.

내일 다시 테스트 해보고 말씀드리겠습니다.

감사합니다.

권 철민님의 프로필 이미지
권 철민
지식공유자

테스트 결과 더 이상 efficientdet automl 패키지는 현 버전의 Colab에서 수행하기가 어렵군요.

Colab의 Python관련 패키지가 계속 update되는데, tensorflow 기반의 automl이 더 이상 이를 따라가지 못할 것 같습니다. 현재는 해당 실습을 수행할 방법이 없어서, 아쉽지만 efficientdet 섹션 강의는 스킵하셔야 할 것 같습니다.

그리고 본 강의에서 해당 섹션은 당분간은 강의에서 더 이상 실습 수행이 어려운 섹션으로(Deprecate) 처리를 할 예정 이오니, 양해 부탁드립니다. 시간을 가지고 방법을 찾아보겠습니다. 감사합니다.

행복한러너님의 프로필 이미지
행복한러너

작성한 질문수

질문하기