wing-ops/prediction/image/mx15hdi/Detect/mmsegmentation/configs/icnet
jeonghyo.k 3946ff6a25 feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거
- prediction/image/ FastAPI 서버 Docker 환경 구성
  - Dockerfile: PyTorch 2.1 + CUDA 12.1 기반 GPU 이미지
  - docker-compose.yml: GPU 할당 + 데이터 볼륨 마운트
  - requirements.txt: 서버 의존성 목록
  - .env.example: 환경변수 템플릿
  - DOCKER_USAGE.md: 빌드/실행/API 사용법 문서
  - Dockerfile에 .dockerignore 제외 폴더 mkdir -p 추가
- .gitignore: prediction/image 결과물 및 모델 가중치(.pth) 제외 추가
- dbInsert_csv.py, dbInsert_shp.py 삭제 (미사용 DB 로직)
- api.py: dbInsert import 및 주석 처리된 DB 호출 코드 제거
- aerialRouter.ts: req.params 타입 오류 수정
2026-03-10 18:37:36 +09:00
..
icnet_r18-d8_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r18-d8_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r18-d8_in1k-pre_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r18-d8_in1k-pre_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r50-d8_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r50-d8_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r50-d8_in1k-pre_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r50-d8_in1k-pre_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r101-d8_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r101-d8_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r101-d8_in1k-pre_832x832_80k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet_r101-d8_in1k-pre_832x832_160k_cityscapes.py feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
icnet.yml feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00
README.md feat(prediction): 이미지 분석 서버 Docker 패키징 + DB 코드 제거 2026-03-10 18:37:36 +09:00

ICNet

ICNet for Real-time Semantic Segmentation on High-resolution Images

Introduction

Official Repo

Code Snippet

Abstract

We focus on the challenging task of real-time semantic segmentation in this paper. It finds many practical applications and yet is with fundamental difficulty of reducing a large portion of computation for pixel-wise label inference. We propose an image cascade network (ICNet) that incorporates multi-resolution branches under proper label guidance to address this challenge. We provide in-depth analysis of our framework and introduce the cascade feature fusion unit to quickly achieve high-quality segmentation. Our system yields real-time inference on a single GPU card with decent quality results evaluated on challenging datasets like Cityscapes, CamVid and COCO-Stuff.

Citation

@inproceedings{zhao2018icnet,
  title={Icnet for real-time semantic segmentation on high-resolution images},
  author={Zhao, Hengshuang and Qi, Xiaojuan and Shen, Xiaoyong and Shi, Jianping and Jia, Jiaya},
  booktitle={Proceedings of the European conference on computer vision (ECCV)},
  pages={405--420},
  year={2018}
}

Results and models

Cityscapes

Method Backbone Crop Size Lr schd Mem (GB) Inf time (fps) mIoU mIoU(ms+flip) config download
ICNet R-18-D8 832x832 80000 1.70 27.12 68.14 70.16 config model | log
ICNet R-18-D8 832x832 160000 - - 71.64 74.18 config model | log
ICNet (in1k-pre) R-18-D8 832x832 80000 - - 72.51 74.78 config model | log
ICNet (in1k-pre) R-18-D8 832x832 160000 - - 74.43 76.72 config model | log
ICNet R-50-D8 832x832 80000 2.53 20.08 68.91 69.72 config model | log
ICNet R-50-D8 832x832 160000 - - 73.82 75.67 config model | log
ICNet (in1k-pre) R-50-D8 832x832 80000 - - 74.58 76.41 config model | log
ICNet (in1k-pre) R-50-D8 832x832 160000 - - 76.29 78.09 config model | log
ICNet R-101-D8 832x832 80000 3.08 16.95 70.28 71.95 config model | log
ICNet R-101-D8 832x832 160000 - - 73.80 76.10 config model | log
ICNet (in1k-pre) R-101-D8 832x832 80000 - - 75.57 77.86 config model | log
ICNet (in1k-pre) R-101-D8 832x832 160000 - - 76.15 77.98 config model | log

Note: in1k-pre means pretrained model is used.