1강_TF2_Detection_Model_ZOO_example_fasterrcnn_pedestrian_dataset.ipynb 내 파일 실행 실패
452
1 asked
import matplotlib
import matplotlib.pyplot as plt
import io
import scipy.misc
import numpy as np
from six import BytesIO
from PIL import Image, ImageDraw, ImageFont
import tensorflow as tf
from object_detection.utils import label_map_util
from object_detection.utils import config_util
from object_detection.utils import visualization_utils as viz_utils
from object_detection.builders import model_builder
%matplotlib inline이것을 실행하니 아래와 같은 오류가 나옵니다. 어떤 점이 문제였을까요?
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-49156a41fe80> in <module>
13 from object_detection.utils import config_util
14 from object_detection.utils import visualization_utils as viz_utils
---> 15 from object_detection.builders import model_builder
16
17 get_ipython().run_line_magic('matplotlib', 'inline')
2 frames
/usr/local/lib/python3.7/dist-packages/object_detection/models/keras_models/resnet_v1.py in <module>
22 import tensorflow.compat.v1 as tf
23
---> 24 from tensorflow.python.keras.applications import resnet
25 from object_detection.core import freezable_batch_norm
26 from object_detection.models.keras_models import model_utils
ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Answer 1
0
안녕하세요~. 반갑습니다.
먼저 수강에 불편을 드려서 죄송합니다ㅠㅠ.
tensorflow 버전이 계속 업데이트되면서 tensorflow objectection api와 호환이 계속 바뀌네요ㅠㅠ.
2022년 11월 11일 기준으로 수정한 아래 colab으로 실습부탁드립니다.
https://colab.research.google.com/drive/1LIMGUFJtCWw3gdgWh3T2aorR4AwogyPS?usp=sharing
좋은 하루되세요~.
감사합니다.
[개정판] 딥러닝 컴퓨터 비전 완벽 가이드 먼저? 구현하며 배우는 Transformer 먼저?
0
29
1
수업자료
0
23
2
paperswithcode 서비스 종료 관련 문의
0
209
2
질문있습니다.
0
59
2
버전 오류 23.05파일 포함.
0
214
1
python -m pip install . 이 아예 안되서 전체 다 수행할 수 없습니다.
0
377
1
1강 colab 2022-11-11 파일도 안됩니다.
1
595
2
강의 슬라이드 전달 요청
1
373
1
TensorFlow Object Detection API Deprecation 영향 문의
0
366
0
Person Detection 에러 질문
0
244
1
사용법
0
391
2
확장자 변경
0
271
0
Faster R-CNN을 이용한 Person Detection 에서 오류
0
283
1
mportError: cannot import name 'BaseRandomLayer' from 'keras.engine.base_layer' (/usr/local/lib/python3.7/dist-packages/keras/engine/base_layer.py) 오류 문의합니다.
0
556
2
PPT자료 어디에 있나요??
0
306
0
실사가 아닌 경우에도 잘 검출이 될까요?
0
358
1
error
0
184
1
Person Detection 관련 문의
0
246
1
CenterNet을 이용한 Car Detection
0
229
0
Faster R-CNN을 이용한 Car Detection 코랩 링크 관련 문의
0
335
1
yolo annotation 문의
0
349
1
Average Recall 질문
0
525
1
이미지 사이즈 에러 발생
0
547
2
강의 교재
0
307
1

