Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FM-Bridge: Feature Modulation Bridge for Liver Tumor Classification

Project Structure

  • dataset.py - Custom Dataset class for loading and preprocessing 3D medical images
  • model.py - Model definition with co-attention mechanisms
  • utils.py - Utility functions for training and evaluation
  • learnable.py - Text encoder and prompt learning classes
  • train.py - Main training script

Dataset Structure

The expected data structure is:

./Dataset/
β”œβ”€β”€ Internal_nii2/
β”‚   └── <hospital_number>/
β”‚       └── ap.nii.gz
β”œβ”€β”€ Internal_roi/
β”‚   └── <hospital_number>/
β”‚       └── ap.nrrd
β”œβ”€β”€ label_v2.csv
└── rad_feat.csv

Training

To train the model:

python train.py --text_prompt_len 6 --vision_prompt_dep 10 --vision_prompt_len 10 --orthogonal_loss_weight 0.1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages