Views
No views yet
| Item | Setting |
|---|---|
| Input | 3 x 512 x 512 CT slices |
| Patch size | 16 |
| Embedding dimension | 768 |
| Transformer depth | 10 |
| Attention heads | 12 |
| Class token | Yes |
| Number of classes | 2 |
| Parameters | 77.6M |
1src/vdpa/model.py VDPA model definition
2src/vdpa/commn.py Attention and pooling modules
3scripts/check_checkpoint_compatibility.py
4scripts/evaluate_npy_checkpoint.py
5scripts/prepare_tcia_lobe3_npy.py
6scripts/plot_metrics_and_calibration.py
7configs/vdpa_checkpoint_config.json
8checkpoints/vdpa_institutional_best_model.pth
9results/1conda create -n vdpa-kras python=3.9 -y
2conda activate vdpa-kras
3pip install -r requirements.txt1python scripts/check_checkpoint_compatibility.py \
2 --checkpoint checkpoints/vdpa_institutional_best_model.pth1missing: []
2unexpected: []
3parameter_count: 775951681data/KRAS_NPY/val/KRAS/<patient_id>/<case>.npy
2data/KRAS_NPY/val/mut-KRAS/<patient_id>/<case>.npy.npy file should contain one three-slice CT input in [3, H, W] format. [H, W, 3] arrays are also supported and are transposed automatically.| Folder | Label |
|---|---|
KRAS | 0 |
mut-KRAS | 1 |
1python scripts/evaluate_npy_checkpoint.py \
2 --data-root data/KRAS_NPY \
3 --split val \
4 --checkpoint checkpoints/vdpa_institutional_best_model.pth \
5 --out-dir results/checkpoint_eval \
6 --batch-size 2 \
7 --threshold 0.51results/checkpoint_eval/image_predictions.csv
2results/checkpoint_eval/patient_predictions.csv
3results/checkpoint_eval/metrics.json1python scripts/prepare_tcia_lobe3_npy.py \
2 --tcia-root data/TCIA_NSCLC_Radiogenomics_KRAS \
3 --out-root data/TCIA_KRAS_lobe3_npy1git lfs install
2git lfs track "*.pth"
3git add .gitattributes1@article{vdpa_kras_nsclc,
2 title = {Variance-Driven Dual-Path Attention for CT Prediction of KRAS Mutation Status in Non-Small Cell Lung Cancer},
3 author = {Fu, Guobin and colleagues},
4 year = {2026}
5}