← 开源
Beckschen

TransUNet

This repository includes the official project of TransUNet, presented in our paper: TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation.

Model DevelopmentArchitectureDomain-specific trainingPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
3.25k
Star
584
Fork
+1
本周
4
贡献者
创建于 2021-02-08 · 更新于 2026-10-12 · 今日第 8039 名
主要开发者
Beckschenyuyinzhouyucornetto

Beckschen/TransUNet 排名第 8,039,有 3,246 个星标。

同类别比较

Beckschen/TransUNet 排名第 8,039,此处有 8 个同类条目;cocktailpeanut/fluxgym 排名第 8,035。

同类别比较
名称排名指标
facebookresearch/vissl8,018
语言:
Jupyter Notebook
星标数:
3,290
分叉数:
323
简介:
VISSL is FAIR's library of extensible, modular and scalable components for SOTA Self-Supervised Learning with images.
facebookresearch/MUSE8,027
语言:
Python
星标数:
3,266
分叉数:
569
简介:
A library for Multilingual Unsupervised or Supervised word Embeddings
MAIF/shapash8,031
语言:
Jupyter Notebook
星标数:
3,264
分叉数:
389
简介:
🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
cocktailpeanut/fluxgym8,035
语言:
Python
星标数:
3,257
分叉数:
369
简介:
Dead simple FLUX LoRA training UI with LOW VRAM support
Jittor/jittor8,046
语言:
Python
星标数:
3,237
分叉数:
328
简介:
Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
kerlomz/captcha_trainer8,054
语言:
Python
星标数:
3,215
分叉数:
821
简介:
[验证码识别-训练] This project is based on CNN/ResNet/DenseNet+GRU/LSTM+CTC/CrossEntropy to realize verification code identification. This project is only for training the model.
JoePenna/Dreambooth-Stable-Diffusion8,058
语言:
Jupyter Notebook
星标数:
3,212
分叉数:
524
简介:
Implementation of Dreambooth (https://arxiv.org/abs/2208.12242) by way of Textual Inversion (https://arxiv.org/abs/2208.01618) for Stable Diffusion (https://arxiv.org/abs/2112.10752). Tweaks focused on training faces, objects, and styles.
webdataset/webdataset8,059
语言:
Python
星标数:
3,209
分叉数:
234
简介:
A high-performance Python-based I/O system for large (and small) deep learning problems, with strong support for PyTorch.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture,Domain-specific training
关键词Biomedical, Computer vision, Healthcare
星标数3,246
分叉数584
贡献者4
创建日期2021-02-08
更新日期2026-10-12
1 天星标数0
7 天星标数1
排名8,039
上次排名8,127
排名变化88
7 天星标排名9,214
上次 7 天星标排名9,277
7 天星标排名变化63
总星标排名4,193
上次总星标排名4,188
总星标排名变化-5
国家USA
README 摘录

TransUNet This repo holds code for TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation 📰 News [7/26/2024] TransUNet, which supports both 2D and 3D data and incorporates a Transformer encoder and decoder, has been featured in the journal Medical Image Analysis (link). [10/15/2023] 🔥 3D version of TransUNet is out! Our 3D TransUNet surpasses nn-UNet with 88. 11% Dice score on the BTCV dataset and outperforms the top-1 solution in the BraTs 2021 challenge and

secure the second place in BraTs 2023 challenge. Please take a look at the code and paper. Download Google pre-trained ViT models Get models in this link: R50-ViT-B_16, ViT-B_16, ViT-L_16. [Update 2026/02] The official ViT weights appear to have expired. You can still download a copy from the project folder (same to BTCV preprocessed data). ) All data are available so no need to send emails for data. Please use the BTCV

preprocessed data and ACDC data. Environment Please prepare an environment with python=3. 7, and then use the command "pip install -r requirements. Train/Test Run the train script on synapse dataset. The batch size can be reduced to 12 or 6 to save memory (please also decrease the base_lr linearly), and both can reach similar performance. It supports testing for both 2D images and 3D volumes. Reference Google ViT ViT-pytorch segmentation_models.

常见问题

记录了多少星标和分叉?

Beckschen/TransUNet 有 3,246 个星标和 584 个分叉。

仓库排名是多少?

Beckschen/TransUNet 排名第 8,039。

记录的语言和类别是什么?

Beckschen/TransUNet 有 3,246 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

Beckschen/TransUNet 与 cocktailpeanut/fluxgym 比较,后者排名第 8,035,有 3,257 个星标。

README

TransUNet

This repo holds code for TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation

📰 News

  • [7/26/2024] TransUNet, which supports both 2D and 3D data and incorporates a Transformer encoder and decoder, has been featured in the journal Medical Image Analysis (link).
@article{chen2024transunet,
  title={TransUNet: Rethinking the U-Net architecture design for medical image segmentation through the lens of transformers},
  author={Chen, Jieneng and Mei, Jieru and Li, Xianhang and Lu, Yongyi and Yu, Qihang and Wei, Qingyue and Luo, Xiangde and Xie, Yutong and Adeli, Ehsan and Wang, Yan and others},
  journal={Medical Image Analysis},
  pages={103280},
  year={2024},
  publisher={Elsevier}
}
  • [10/15/2023] 🔥 3D version of TransUNet is out! Our 3D TransUNet surpasses nn-UNet with 88.11% Dice score on the BTCV dataset and outperforms the top-1 solution in the BraTs 2021 challenge and secure the second place in BraTs 2023 challenge. Please take a look at the code and paper.

Usage

1. Download Google pre-trained ViT models

wget https://storage.googleapis.com/vit_models/imagenet21k/{MODEL_NAME}.npz &&
mkdir ../model/vit_checkpoint/imagenet21k &&
mv {MODEL_NAME}.npz ../model/vit_checkpoint/imagenet21k/{MODEL_NAME}.npz

[Update 2026/02] The official ViT weights appear to have expired. You can still download a copy from the project folder (same to BTCV preprocessed data). After extraction, find the file at: ../model/vit_checkpoint/imagenet21k/R50+ViT-B_16.npz

2. Prepare data (All data are available!)

All data are available so no need to send emails for data. Please use the BTCV preprocessed data and ACDC data.

3. Environment

Please prepare an environment with python=3.7, and then use the command "pip install -r requirements.txt" for the dependencies.

4. Train/Test

  • Run the train script on synapse dataset. The batch size can be reduced to 12 or 6 to save memory (please also decrease the base_lr linearly), and both can reach similar performance.
CUDA_VISIBLE_DEVICES=0 python train.py --dataset Synapse --vit_name R50-ViT-B_16
  • Run the test script on synapse dataset. It supports testing for both 2D images and 3D volumes.
python test.py --dataset Synapse --vit_name R50-ViT-B_16

Reference

Citations

@article{chen2021transunet,
  title={TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation},
  author={Chen, Jieneng and Lu, Yongyi and Yu, Qihang and Luo, Xiangde and Adeli, Ehsan and Wang, Yan and Lu, Le and Yuille, Alan L., and Zhou, Yuyin},
  journal={arXiv preprint arXiv:2102.04306},
  year={2021}
}
排名相邻
同类项目