Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.3%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: zezeze97
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 16.1 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • Open Issues: 3
  • Releases: 0
Created almost 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Kaggle 比赛

该仓库用于UW-Madison GI Tract Image Segmentation比赛

数据集探索

参考

{0: {0: 0.9931173288276431, 1: 0.0068826711723568796, 'ratio': 144.29242716350245}, 1: {0: 0.9936987980163507, 1: 0.006301201983649225, 'ratio': 157.69988021251598}, 2: {0: 0.9965100078185938, 1: 0.0034899921814062367, 'ratio': 285.53359320623633}}

环境安装

```sh conda create -n mmseg-kaggle python=3.10 -y conda activate mmseg-kaggle

conda install pytorch=1.11.0 torchvision cudatoolkit=11.3 -c pytorch

pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113 pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html git clone https://github.com/zezeze97/kaggle_segmentation.git cd {path of project} pip install -e .
```

数据集下载,预处理

从官网下载好数据集后,放在该项目的input目录下,运行kagglesegmentation/preparedata.ipynb

训练,测试

```sh

训练

bash run.sh train $GPU

测试

bash run.sh test $GPU ```

可视化预测

kagglesegmentation/inferencedemo.ipynb

Note

  • 2.5d data: 同一个case,同日的3张slice拼接成一张(stride=2)
  • mutilabel问题,最后激活使用sigmoid而不是softmax!!

TODO

  • 图片case的相关性,更好的建模方式?
  • 图片尺寸较小, 可以尝试upernet origin size?(默认1/4大小)
  • 实验结果整理
  • 增加smp unet decoder 移植 https://github.com/CarnoZhao/Kaggle-UWMGIT/blob/kaggletractseg/mmseg/models/segmentors/smpmodels.py
  • swin transformer v2
  • 更好的数据增强方式:https://www.kaggle.com/competitions/uw-madison-gi-tract-image-segmentation/discussion/331450
  • 5张slice拼接成一张,需要修改pretrained ckpts的第一层...

Owner

  • Login: zezeze97
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - name: "MMSegmentation Contributors"
title: "OpenMMLab Semantic Segmentation Toolbox and Benchmark"
date-released: 2020-07-10
url: "https://github.com/open-mmlab/mmsegmentation"
license: Apache-2.0

GitHub Events

Total
Last Year

Dependencies

.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1.0.10 composite
  • codecov/codecov-action v2 composite
.github/workflows/deploy.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/test_mim.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/serve/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
requirements/docs.txt pypi
  • docutils ==0.16.0
  • myst-parser *
  • sphinx ==4.0.2
  • sphinx_copybutton *
  • sphinx_markdown_tables *
requirements/mminstall.txt pypi
  • mmcls >=0.20.1
  • mmcv-full >=1.4.4,<=1.6.0
requirements/optional.txt pypi
  • cityscapesscripts *
requirements/readthedocs.txt pypi
  • mmcv *
  • prettytable *
  • torch *
  • torchvision *
requirements/runtime.txt pypi
  • matplotlib *
  • mmcls >=0.20.1
  • numpy *
  • packaging *
  • prettytable *
requirements/tests.txt pypi
  • codecov * test
  • flake8 * test
  • interrogate * test
  • pytest * test
  • xdoctest >=0.10.0 test
  • yapf * test