w14d2 캠, 그래도 캠...

[LMS] GD_CV#7. Object Detection

  • 이미지 내에서 물체의 위치와 종류를 찾아내기

[목표]

  • 딥러닝 기반 Object Detection 기법 배우기
  • Anchor Box 개념 이해
  • Single/Double Stage Detection 모델의 차이 이해

[Comment]

  • tf.data.Dataset의 Methods 관련

    def apply_normalize_on_dataset(ds, is_test=False, batch_size=16):
         ds = ds.map(normalize_and_resize_img, num_parallel_calls=2)
         if not is_test and with_aug:
             ds = ds.map(augment, num_parallel_calls=2)
             
         ds = ds.batch(batch_size)
         
         if not is_test:
             ds = ds.repeat()
             ds = ds.shuffle(200)
         
         ds = ds.prefetch(tf.data.experimental.AUTOTUNE)
         return ds
  • 위 코드 관련

    • ds.batch().repeat().shuffle()에 대해서 이해했음
      • 퍼실님+그룹Study를 통해서
    • batch → repeat → shuffle (교재 순서)
    • shuffle → repeat → batch
    • batch → shuffle → repeat

    순서에 따라 데이터가 바뀜!!!

    • 문제의 성격(모델의 성격)에 따라 순서를 정하는 것이 필요할 듯
  • 오늘은 CAM, Grad-CAM의 세계로~~~

좋은 웹페이지 즐겨찾기