Skip to content

Releases: boostcampaitech4lv23cv2/final-project-level3-cv-13

๐ŸŽ‰ Version 1.1.2 Release ๐ŸŽ‰

16 Feb 06:33
ca7ccc8
Compare
Choose a tag to compare

๐ŸŽ‰ Version 1.1.1 Release ๐ŸŽ‰

09 Feb 01:07
Compare
Choose a tag to compare

๐ŸŽ‰ Version 1.1.0 Release ๐ŸŽ‰

07 Feb 02:45
7c39506
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.1.0

๐ŸŽ‰ Version 1.0.0 Release ๐ŸŽ‰

02 Feb 02:58
966e4ca
Compare
Choose a tag to compare

Data

  • Data
    • Fish
      • ๊ด‘์–ด, ์šฐ๋Ÿญ ๋“ฑ ๋‹ค์–‘ํ•œ ์ƒ์„ ๊ณผ ์ž๋ฐ”๋ฆฌ, ๋Šฅ์„ฑ์–ด, ๋ฐฉ์–ด, ๋ถ€์‹œ๋ฆฌ ๋“ฑ ํ—ท๊ฐˆ๋ฆด ์ˆ˜ ์žˆ๋Š” ์ƒ์„  ๋ถ„๋ฅ˜
      • Data : AI Hub ์–ด๋ฅ˜ ๊ฐœ์ฒด ์ดฌ์˜ ์˜์ƒ + Crawling Image
      • AI Hub ๋ฐ์ดํ„ฐ์…‹์˜ ์ด๋ฏธ์ง€ ๋ณ„ bounding box ๊ฐ’์„ ํ™œ์šฉํ•ด ์ „์ฒ˜๋ฆฌ
    • Sashimi
      • ๊ด‘์–ด, ์—ฐ์–ด ๋“ฑ ์ž์ฃผ ๋จน๋Š” ํšŒ์™€ ์ฐธ๋”ํšŒ, ๋ฏผ์–ดํšŒ, ํ‹ธ๋ผํ”ผ์•„ํšŒ ๋“ฑ ํ—ท๊ฐˆ๋ฆด ์ˆ˜ ์žˆ๋Š” ํšŒ ๋ถ„๋ฅ˜
      • Data : Crawling Image
  • Crawling
    • Selenium์„ ์ด์šฉํ•˜์—ฌ ์›น ์Šคํฌ๋กค๋ง ์ž๋™ํ™”
    • ๊ตฌ๊ธ€๊ณผ ๋„ค์ด๋ฒ„์—์„œ ๋ฐ์ดํ„ฐ ํฌ๋กค๋ง
  • Annotation
    • Annotation guide ์ž‘์„ฑ
    • Notebook ํŒŒ์ผ๋กœ Annotation tool ์ œ์ž‘ ๋ฐ ์‚ฌ์šฉ

ML

  • setting
    • poetry๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์‰ฝ๊ฒŒ ํ™˜๊ฒฝ ์„ค์ •์„ ํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ตฌ์ถ•
    • pytorch 1.7.1 + cu110
  • pipeline
    • config.yaml ํŒŒ์ผ์—์„œ train ์„ค์ •์„ ํ•˜๊ณ  ํ•™์Šต์„ ๋Œ๋ฆด ์ˆ˜ ์žˆ์Œ
    • sweep.yaml ํŒŒ์ผ์˜ ์„ค์ •์„ ์ด์šฉํ•ด wandb sweep ์ƒ์„ฑํ•˜๊ณ  agent๋กœ ํ•™์Šต์„ ์‹œํ‚ฌ ์ˆ˜ ์žˆ์Œ
    • hyper parameter๋“ค์„ ๋‹ค๋ฅธ ํŒŒ์ผ์˜ class๋กœ ๊ตฌ์„ฑํ•˜์—ฌ train ์ฝ”๋“œ๋ฅผ ๊ฐ„๊ฒฐํ•˜๊ฒŒ ์ž‘์„ฑํ•˜์˜€๊ณ , getattr ํ•จ์ˆ˜๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์›ํ•˜๋Š” ๊ฐ’์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•จ
    • best ๊ฐ’์˜ pth์™€ onnxํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๊ณ  ์ด๋ฅผ train ํ•™์Šต ๊ณผ์ • ๋‚ด์—์„œ gcp bucket์— ์—…๋กœ๋“œ
  • EDA
    • ์นดํ…Œ๊ณ ๋ฆฌ ๋ณ„ ์ด๋ฏธ์ง€ ๊ฐœ์ˆ˜ ๋ฐ ํฌ๊ธฐ ์‹œ๊ฐํ™”
    • Validation ๊ฒฐ๊ณผ ์‹œ๊ฐํ™”
      • Confusion matrix
      • GridImage
    • CAM
      • Hook์„ ์ด์šฉํ•˜์—ฌ ์ตœ์ข… Conv layer์˜ Feature map ๊ณผ class weight๋ฅผ ๊ณฑํ•˜์—ฌ ๋ชจ๋ธ ์‹œ๊ฐํ™”
      • ์›ํ•˜๋Š” ์ด๋ฏธ์ง€๋ฅผ ๋„ฃ์œผ๋ฉด ๋ชจ๋ธ์˜ ํŒ๋‹จ ๊ธฐ์ค€์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Œ
  • ์‹คํ—˜ ๊ด€๋ฆฌ
    • Wandb ์‹คํ—˜ ์ด๋ฆ„์„ config์— ๋”ฐ๋ผ ๋ณ€๊ฒฝ๋˜๋„๋ก ์„ค์ •ํ•˜์—ฌ ๊ด€๋ฆฌ
    • f1 score์„ metric์œผ๋กœ ์„ ์ •

Front-end

Back-end

  • FastAPI backend server
    • Onnx runtime์œผ๋กœ ์ž…๋ ฅ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ CPU ์ถ”๋ก  ์ง„ํ–‰
    • ์œ ์ € ์ž…๋ ฅ ๋ฐ์ดํ„ฐ๋ฅผ log๋กœ ์ €์žฅ
    • Serverless with Google Cloud Run
      • ์„œ๋ฒ„ ๋น„์šฉ ์ƒ๋‹นํžˆ ์ ˆ๊ฐ
    • ๊ฐ„๋‹จํ•œ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ž‘์„ฑ

CI/CD

  • Travis CI based CI/CD
    • ํŠน์ • ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€๊ฐ€ ์ž…๋ ฅ๋œ ๊ฒฝ์šฐ Auto-build๋ฅผ ํ†ตํ•œ ์ตœ์‹ ํ™”
      • build
        : ํ”„๋กœ์ ํŠธ๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” backend server, streamlit, react ๋ชจ๋‘ ๋นŒ๋“œ
      • build-backend
        : ๋ฐฑ์—”๋“œ ์„œ๋ฒ„๋งŒ ๋นŒ๋“œ
      • build-frontend
        : Streamlit ๋นŒ๋“œ
      • build-react
        : React Webpage ๋นŒ๋“œ
    • Travis Jobs์„ ์ด์šฉํ•œ ๋ณ‘๋ ฌ์ ์ธ ๋นŒ๋“œ ๊ฐ€๋Šฅ
  • Google Cloud
    • Container Registry์—์„œ Artifact Registry๋กœ ๋ณ€ํ™˜ํ•˜์—ฌ ์„œ๋ฒ„ ๋น„์šฉ ๊ฐ์†Œ(๋ฆฌ์ „ ๊ฐ„ ๋ฐ์ดํ„ฐ ์ด๋™์— ๋”ฐ๋ฅธ ๋น„์šฉ ๋ฐœ์ƒ ์ƒํ™ฉ ์ œ๊ฑฐ)
    • Google Artifact Registry๋กœ back-end, front-end ๋„์ปค ์ด๋ฏธ์ง€ ๋นŒ๋“œ
    • Google Cloud Storage๋กœ ์œ ์ € ๋กœ๊ทธ, ONNX, ๊ทธ๋ฆฌ๊ณ  ๋ฐ์ดํ„ฐ ๊ด€๋ฆฌ(Google Drive)
      • ์ตœ์‹  ๋ฐ์ดํ„ฐ๋‚˜ ๋ชจ๋ธ์„ ์‹ค์‹œ๊ฐ„์œผ๋กœ ํ™•์ธ ๊ฐ€๋Šฅ
  • Firebase
    • Firebase SDK๋ฅผ ์‚ฌ์šฉํ•œ react ์•ฑ ์ž๋™ ๋ฐฐํฌ
  • Google Cloud Run
    • Serverless ๊ตฌ์กฐ๋ฅผ ํ†ตํ•œ ์„œ๋ฒ„ ๋น„์šฉ ์ ˆ๊ฐ
    • ๋„์ปค ๊ฒฝ๋Ÿ‰ํ™”๋ฅผ ํ†ตํ•œ ์ƒˆ๋กœ์šด ๋ฐฑ์—”๋“œ ์„œ๋ฒ„ ์ธ์Šคํ„ด์Šค ์‹œ์ž‘ ์‹œ๊ฐ„ 3์ดˆ