项目
在 GitHub 查看
Rayicer/TransFuse
关于
This repo holds the code of TransFuse: Fusing Transformers and CNNs for Medical Image Segmentation
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TransFuse
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]
探索相关项目
加载中…