[Day34] Instance/Panoptic segmentation & Conditional generative model

2021. 3. 11. 22:27·AI/부스트 캠프 AI tech

[Day34] Instance/Panoptic segmentation & Conditional generative model

  • Instance segmentation

    • https://n-brogrammer.tistory.com/127
  • Panoptic segmentation

    • https://n-brogrammer.tistory.com/128
  • Conditional generative model

    • https://n-brogrammer.tistory.com/126

 

 

중요

Landmark location to Gaussian heatmap

 

 

 

 

 

 

피어세션

  • 백준 2467번: 용액 문제를 풀고 토론을 진행 하였다.

많이들 투 포인터 방법으로 풀었지만 이분 탐색을 이용해서 문제를 풀어 보았다.

import sys
from bisect import bisect_right as br

def solve():
    N=int(sys.stdin.readline())
    solution=list(map(int,sys.stdin.readline().split()))

    ans=[int(1e10),[]]
    for ph in solution:
        idx=br(solution,-ph)
        if 0<= idx -1 <N:
            if ph != solution[idx-1] and ans[0] > abs(ph+solution[idx-1]):
                ans[0]=abs(ph+solution[idx-1])
                ans[1]=[ph,solution[idx-1]]
        if 0<= idx < N:
            if ph != solution[idx] and ans[0] > abs(ph+solution[idx]):
                ans[0]=abs(ph+solution[idx])
                ans[1]=[ph,solution[idx]]
    print(*sorted(ans[1]))

solve()

 

'AI > 부스트 캠프 AI tech' 카테고리의 다른 글

[Day39] 양자화 & 지식 증류  (0) 2021.03.18
[Day38] 가속화 & pruning  (0) 2021.03.17
[Day37] 시간복잡도 & entropy  (0) 2021.03.16
[Day35] Muti-modal & 3D understanding  (0) 2021.03.12
[Day33] Object Detection & CNN Visualization  (0) 2021.03.10
[Day32] Semantic Segmentation  (0) 2021.03.09
[Day31] Image Classification I & data Augmentation  (0) 2021.03.08
[Day30] AI + ML과 Quant Trading & AI Ethics  (0) 2021.03.05
'AI/부스트 캠프 AI tech' 카테고리의 다른 글
  • [Day37] 시간복잡도 & entropy
  • [Day35] Muti-modal & 3D understanding
  • [Day33] Object Detection & CNN Visualization
  • [Day32] Semantic Segmentation
N-analyst
N-analyst
  • N-analyst
    개발자CuCu
    N-analyst
  • 전체
    오늘
    어제
  • 공지사항

    • 티스토리에서 원하는 글 찾는 방법
    • 분류 전체보기 (140)
      • 티스토리 (4)
      • 알고리즘 (5)
        • 알고리즘 정리 (1)
        • 백준 (4)
      • 마크다운(Typora) (13)
        • 사용법 (13)
      • 에러 (1)
        • 파이썬 (1)
      • 데이터 분석 (5)
        • python_analysis (3)
        • Machine Learning (2)
      • AI (109)
        • 파이토치로 시작하는 딥러닝 기초 (2)
        • 부스트 캠프 AI tech (41)
        • 이론 (66)
      • 파이썬(python) (1)
        • 기타 (1)
      • 웹 프로그래밍 (1)
        • 설정 팁 (1)
  • 블로그 메뉴

    • 홈
    • 태그
  • 인기 글

  • 최근 글

  • 최근 댓글

  • hELLO· Designed By정상우.v4.10.6
N-analyst
[Day34] Instance/Panoptic segmentation & Conditional generative model
상단으로

티스토리툴바