DiaMond
Official pytorch implementation of Paper - DiaMond: Dementia Diagnosis with Multi-Modal Vision Transformers Using MRI and PET - WACV 2025
Install / Use
/learn @ai-med/DiaMondREADME
Dementia Diagnosis with Multi-Modal Vision Transformers Using MRI and PET
Official Pytorch Implementation of Paper - 💎 DiaMond: Dementia Diagnosis with Multi-Modal Vision Transformers Using MRI and PET - Accepted by WACV 2025
<p align="center"> <img src="img/arch.png" /> </p>Installation
- Create environment:
conda env create -n diamond --file requirements.yaml - Activate environment:
conda activate diamond
Data
We used data from Alzheimer's Disease Neuroimaging Initiative (ADNI) and Japanese Alzheimer's Disease Neuroimaging Initiative (J-ADNI). Since we are not allowed to share our data, you would need to process the data yourself. Data for training, validation, and testing should be stored in separate HDF5 files, using the following hierarchical format:
- First level: A unique identifier, e.g. image ID.
- The second level always has the following entries:
- A group named
MRI/T1, containing the T1-weighted 3D MRI data. - A group named
PET/FDG, containing the 3D FDG PET data. - A string attribute
DXcontaining the diagnosis labels:CN,Dementia/AD,FTD, orMCI, if available. - A scalar attribute
RIDwith the patient ID, if available.
- A group named
Usage
The package uses PyTorch. To train and test DiaMond, execute the src/train.py script.
The configuration file of the command arguments is stored in config/config.yaml.
The essential command line arguments are:
--dataset_path: Path to HDF5 files containing either train, validation, or test data splits.--img_size: Size of the input scan.--test: True for model evaluation.
After specifying the config file, simply start training/evaluation by:
python src/train.py
Contacts
For any questions, please contact: Yitong Li (yi_tong.li@tum.de)
If you find this repository useful, please consider giving a star 🌟 and citing the paper:
WACV 2025 proceedings:
@INPROCEEDINGS{li2024diamond,
author={Li, Yitong and Ghahremani, Morteza and Wally, Youssef and Wachinger, Christian},
booktitle={2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
title={DiaMond: Dementia Diagnosis with Multi-Modal Vision Transformers Using MRI and PET},
year={2025},
volume={},
number={},
pages={107-116},
doi={10.1109/WACV61041.2025.00021}}
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
