Skip to content

arco-group/Multi-Agent-TTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Agent TTA for 2D Medical Image Translation

Irene Iele1, Francesco Di Feola2, Paolo Soda1,2, Rosa Sicilia3, Matteo Tortora4

1 University Campus Bio-Medico of Rome, 2 Umeå University, 3 UniCamillus-Saint Camillus International University of Health Sciences 4 University of Genoa

Overview

Public release of the code used in the MICCAI 2026 paper on Multi-Agent Test-Time Adaptation for 2D Medical Image Translation. method_tta_v2_page-0001

This repository contains only the two models used in the paper:

  • cyclegan/
  • flow_matching/

The release is trimmed to the scripts needed to train the task model, train the monitoring agent, compute reconstruction loss, and run the three adaptation strategies:

  • baseline
  • ema
  • rvt

Repository Layout

  • checkpoint/Ap_*: predictor-agent checkpoints.
  • checkpoint/monitoring_agent/cyclegan/: monitoring-agent checkpoints for the CycleGAN branch.
  • checkpoint/monitoring_agent/flow_matching/: monitoring-agent checkpoints for the flow-matching branch.
  • cyclegan/: CycleGAN branch code.
  • flow_matching/: flow-matching branch code.

Public Scripts

CycleGAN branch

  • train.py
  • test.py
  • train_monitoring_agent.py
  • test_monitoring_agent.py
  • compute_loss_rec.py
  • TTA_baseline.py
  • TTA_ema.py
  • TTA_rvt.py

Flow-matching branch

  • train_flow_matching.py
  • test_flow_matching.py
  • train_monitoring_agent.py
  • test_monitoring_agent.py
  • compute_loss_rec.py
  • TTA_baseline.py
  • TTA_ema.py
  • TTA_rvt.py

Internal helper modules remain in the tree because the public scripts import them directly.

Checkpoints

The repository already includes the checkpoints needed to reproduce the public runs:

  • predictor agent
  • monitoring agent for CycleGAN
  • monitoring agent for flow matching

The monitoring-agent checkpoints are organized by model and dataset.

Setup

Use the CycleGAN environment as the base environment for the cyclegan/ branch:

conda env create -f cyclegan/environment.yml

Then add the dependencies required by flow_matching/ in the same environment, or manage that branch in a separate environment if you prefer a cleaner split.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages