프로젝트
GitHub에서 보기
Rayicer/TransFuse
소개
This repo holds the code of TransFuse: Fusing Transformers and CNNs for Medical Image Segmentation
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTransFuse
This repo holds the code of TransFuse: Fusing Transformers and CNNs for Medical Image Segmentation
Requirements
- Pytorch>=1.6.0, <1.9.0 (>=1.1.0 should work but not tested)
- timm==0.3.2
Model Overview
Experiments
ISIC2017 Skin Lesion Segmentation Challenge
GPUs of memory>=4G shall be sufficient for this experiment.
Preparing necessary data:
- downloading ISIC2017 training, validation and testing data from the official site, put the unzipped data in
./data. - run
process.pyto preprocess all the data, which generatesdata_{train, val, test}.npyandmask_{train, val, test}.npy. - alternatively, the processed data is provided in Baidu Pan, pw:ymrh and Google Drive.
- downloading ISIC2017 training, validation and testing data from the official site, put the unzipped data in
Testing:
- downloading our trained TransFuse-S from Baidu Pan, pw:xd74 or Google Drive to
./snapshots/. - run
test_isic.py --ckpt_path='snapshots/TransFuse-19_best.pth'.
- downloading our trained TransFuse-S from Baidu Pan, pw:xd74 or Google Drive to
Training:
- downloading DeiT-small from DeiT repo to
./pretrained. - downloading resnet-34 from timm Pytorch to
./pretrained. - run
train_isic.py; you may also want to change the default saving path or other hparams as well.
- downloading DeiT-small from DeiT repo to
Code of other tasks will be comming soon.
Reference
Some of the codes in this repo are borrowed from:
Citation
Please consider citing us if you find this work helpful:
@article{zhang2021transfuse,
title={TransFuse: Fusing Transformers and CNNs for Medical Image Segmentation},
author={Zhang, Yundong and Liu, Huiye and Hu, Qiang},
journal={arXiv preprint arXiv:2102.08005},
year={2021}
}
Questions
Please drop an email to [email protected]
관련 프로젝트 살펴보기
불러오는 중…