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

TTDG-MGM

> 编程语言
开源

[CVPR 2025] 通过宇宙学习实现测试时域泛化:用于医学图像分割的多图匹配方法

100 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

[CVPR 2025] 通过宇宙学习实现测试时域泛化:用于医学图像分割的多图匹配方法

TTDG-MGM

Test-Time Domain Generalization via Universe Learning: A Multi-Graph Matching Approach for Medical Image Segmentation
Xingguo Lv, Xingbo Dong, Liwen Wang, Jiewen Yang, Lei Zhao, Bin Pu, Zhe Jin, Xuejun Li

Official PyTorch implementation of the CVPR 2025 paper (score: 44444)

Features

  • State-of-the-art performance on Retinal Fundus Segmentation and Polyp Segmentation Datasets
  • ⚡ Efficient implementation with Pytorch and Mask-RCNN
  • Easy-to-use training/evaluation scripts
  • Pre-trained models available

Installation

Prerequisites

  • Python ≥ 3.6
  • PyTorch ≥ 1.5 and torchvision that matches the PyTorch installation.
  • Detectron2 == 0.5

Install conda env

bash
conda create -n ttdg python=3.7 -y
conda activate ttdg
pip install -r requirements.txt

Build Detectron2 from Source

Follow the INSTALL.md to install Detectron2.

Quick Start

Data Preparation

  1. The preprocessed data can be downloaded from Google Drive.

  2. Organize the annotations/masks as the COCO annotation format.

json
{
    "images": [
        {"id": 1, "width": 640, "height": 480, "file_name": "000001.jpg"}
    ],
    "annotations": [
        {
            "id": 1,
            "image_id": 1,
            "category_id": 1,
            "segmentation": [[100, 100, 150, 100, 150, 150, 100, 150]],
            "area": 2500,
            "bbox": [100, 100, 50, 50],
            "iscrowd": 0
        }
    ],
    "categories": [
        {"id": 1, "name": "person", "supercategory": "human"}
    ]
}
  1. Organize dataset structure:
txt
datasets/
└── Fundus/
    ├── Drishti_GS/                
    │   ├── test/
    │   │   └── image/                        
    │   └── train/
    │       └── image/                      
    ├── ORIGA/
    ├── RIM_ONE_r3/                             
    ├── REFUGE/                                       
    ├── REFUGE_Valid/
    │   └── image/                                                    
    ├── Drishti_GS_test.json      
    ├── Drishti_GS_train.json
    ├── ORIGA_test.json
    ├── ORIGA_train.json
    └── ...

Test-time Adaptation with Pretrained Models

bash
python train_net.py --eval-only --config configs/test_segment.yaml \
                MODEL.WEIGHTS .pth

Download pre-trained models from Google Drive

Source Model Training

bash
python train_net.py \
      --num-gpus 1 \
      --config configs/seg_res50fpn_source.yaml\
      OUTPUT_DIR output/

Citation

If you use this work in your research or wish to refer to the results published in the paper, please use the following BibTeX entry.

bibtex
@inproceedings{lv2025test,
  title={Test-Time Domain Generalization via Universe Learning: A Multi-Graph Matching Approach for Medical Image Segmentation},
  author={Lv, Xingguo and Dong, Xingbo and Wang, Liwen and Yang, Jiewen and Zhao, Lei and Pu, Bin and Jin, Zhe and Li, Xuejun},
  booktitle={Proceedings of the Computer Vision and Pattern Recognition Conference},
  pages={15621--15631},
  year={2025}
}

Acknowledgement

We gratefully acknowledge the following open-source projects that inspired or contributed to our implementation:

  • ThinkMatch
  • VPTTA
  • ToMo-UDA
  • Detectron2

Issues· 1 开放

查看全部 Issues在 GitHub 打开

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

> 标签

Python

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

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言