百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MT-UNet

> 数据库
开源

*医学图像分割混合 Transformer UNet 官方代码*

198 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

*医学图像分割混合 Transformer UNet 官方代码*

MT-UNet

Update 2026/03/02

The pretrained weights of Synapse and ACDC have now been moved to Zenodo as well: https://zenodo.org/records/18831591

Update 2025/03/17

The preprocessed datasets are no longer available in the previous Google Drive links. They have now been moved to Zenodo for long-term sharing. You can find these two files here: https://zenodo.org/records/15038913

Update 2024/04/15

We have uploaded the lists_Synapse.zip file in ./dataset/ based on the recently raised issues. Please use it along with the Synapse dataset you downloaded.

Update 2022/03/05

The paper has been accepted by ICASSP 2022. The complete code is released today.

Please note that, if you have requested our code before, that code is depreciated right now and you are encouraged to use the newest version in this repo.


1. Prepare your dataset.

  • Synapse dataset can be found at the repo of TransUnet.

  • ACDC dataset is a little complicated, since we found that previous works use different partitions but compare with each other directly. To make sure our experiment is fair, we use our own partition and rerun all the methods by ourselves. We have uploaded the preprocessed ACDC dataset here, or you can download the dataset by yourself at here

2. Clone the code

  • First, clone our code with:
bash
git clone [email protected]:Dootmaan/MT-UNet.git
cd MT-UNet
  • Then, modify "train_mtunet_ACDC.py" and "train_mtunet_Synapse.py" according to your experiment environment. You can search for "path/to/dataset" in these two files and replace them with the real path to the ACDC and Synapse dataset on your machine.

3. Start training

  • After that, you can start training with:
CUDA_VISIBLE_DEVICES=0 nohup python3 -u train_mtunet_ACDC.py >train_mtunet_ACDC.log 2>&1 &

The weights will be saved to "./checkpoint/ACDC/mtunet" while the predictions will be saved to "./predictions" by default. You can also load our weights before training with the argparser.

ACDC weights

Synapse weights


We have tested the code to make sure it works. However, if you still find some bugs, feel free to make a pull request or simply raise an issue.

You are also encouraged to read the update log below to know more about this repo.

Update 2022/01/05

By another round of training based on previous weights, our model also achieved a better performance on ACDC (91.61% DSC). We have changed the weights for ACDC to this newest version and you can check it out for yourself. However, previous versions of weights are still available on Google Drive, and you can access them via previous commits.

Update 2022/01/04

We have further trained our MT-UNet and it turns out to have a better result on Synapse with 79.20% DSC. We have changed the public weights of Synapse to this version and will also update the results in our paper.

Update 2022/01/03

It should be mentioned that we are currently conducting some statistical evaluations on our model and these results will also be made public on this site.

  • [Updated] Click here for our weights used on Synapse.

  • [Updated] Click here for our weights used on ACDC. The authors of TransUnet did not provide the split of ACDC dataset. Therefore, we conducted all the ACDC experiments based on our own dataset split.

Update 2021/11/19

  • Thank you for your interest in our work. We have uploaded the code of our MTUNet to help peers conduct further research on it. However, the rest of the codes (such as the training and testing codes) are currently not so well organized, and we plan to release them upon paper publication. It also should be noted that they are still available right now with a rough appearance. Please contact us for these codes if you are new to this field or having difficulty applying our model to your own dataset.

This is the official implementation for our ICASSP2022 paper MIXED TRANSFORMER UNET FOR MEDICAL IMAGE SEGMENTATION

The entire code will be released upon paper publication.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythondeep-learningmedical-imagingsegmentationtransformer

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库