강의

멘토링

커뮤니티

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

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

작성한 질문수

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

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

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

작성

·

15

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 구성과 뭔가 맞지 않는 것 같은데, 원인 찾는데 시간이 더 걸릴 것 같습니다.

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

감사합니다.

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

작성한 질문수

질문하기