v2 multimodal DenseNet121 (verified reload, LOSO results, report)
Browse filesFiles changed (9)
- v2_multimodal/README.mdAdded+45
- v2_multimodal/config.jsonAdded+32
- v2_multimodal/densenet121_multimodal.ptAdded+3
- v2_multimodal/feature_audit.csvAdded+6
- v2_multimodal/final_report.mdAdded+36
- v2_multimodal/image_index.csvAdded+33
- v2_multimodal/loso_results.csvAdded+9
- v2_multimodal/run_log.txtAdded+241
- v2_multimodal/specimen_table.csvAdded+9
123456789101112131415161718192021222324252627282930313233343536373839404142434445---library_name: pytorch---# v2_multimodal
DenseNet121 multimodal (H&E + p63 + 34bE12 + AMACR) trained on 8 specimens. **Research prototype only. Not clinically validated; no independent test set.** The files in the repo root are earlier, superseded versions (image encoders were not transferred into the old fusion model, and p63 only was used).
Reload with `load_checkpoint()` from the pipeline script; the checkpoint stores config, class map, seed and preprocessing.
# Multimodal DenseNet121 run report
Dataset: 8 specimens (Normal 3, Partial_Restoration 4, Induced_Neoplastic 1); 8 H&E + 24 IHC plates (p63, 34bE12, AMACR).Augmentation: 100 augmented views per specimen per epoch (each view augments all 4 images).Training: staged (stage 1 6 epochs frozen backbones, stage 2 6 epochs last dense block); seed 42; molecular branch in fusion: False.
## Image model - leave-one-specimen-out```Image model (LOSO): 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 3 0] [4 0 0] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.```## Molecular MLP - leave-one-specimen-out```Molecular MLP: 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 0 3] [0 0 4] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.*** All 5 features are identical for every specimen: this result reflects only the class prior, NOT molecular signal. Do not report it as a modality result. ***```## Final modelTrained on all 8 specimens. Checkpoint reload test passed. Training-set predictions are not a performance estimate.
## Limitations- Only 8 specimens; one Induced_Neoplastic specimen. No independent test set exists.- Augmented views of one image are not independent samples; 'train-view accuracy' is not performance.- Molecular features are constant across specimens (no information); that branch is off.- Images were cropped from PDF figures; image source/format differences may be learnable shortcuts.- Not a diagnostic tool; no clinical validity claimed.1234567891011121314151617181920212223242526272829303132{ "img_size": 224, "aug_per_image": 100, "batch_size": 16, "embed_dim": 512, "mol_embed_dim": 128, "use_molecular": false, "pretrained": true, "modality_dropout": 0.15, "stage1_epochs": 6, "stage2_epochs": 6, "lr_head": 0.0003, "lr_backbone": 1e-05, "weight_decay": 0.01, "label_smoothing": 0.1, "grad_clip": 1.0, "seed": 42, "num_workers": 2, "run_loso": true, "loso_epochs": [ 3, 3 ], "loso_eval_views": 20, "run_mlp": true, "push_to_hf": true, "hf_repo": "Mikecode123/walnut", "hf_subdir": "v2_multimodal", "hf_secret_name": "kaggle", "push_mlp_checkpoint": false, "out_dir": "/kaggle/working"}123version https://git-lfs.github.com/spec/v1oid sha256:7281d4b566a328c9a11a3283a68bfe6880f2a66b09bea71a9f48755f6f2403b1size 62734085123456feature,n_unique,mean,std,missing,informativeflavonoid,1,14.3,1.7763568394002505e-15,0,Falsealkaloid,1,4.07,0.0,0,Falseterpenoid,1,2.57,0.0,0,Falsephenol,1,1.8,2.220446049250313e-16,0,Falsesteroid,1,0.22,0.0,0,False123456789101112131415161718192021222324252627282930313233343536# Multimodal DenseNet121 run report
Dataset: 8 specimens (Normal 3, Partial_Restoration 4, Induced_Neoplastic 1); 8 H&E + 24 IHC plates (p63, 34bE12, AMACR).Augmentation: 100 augmented views per specimen per epoch (each view augments all 4 images).Training: staged (stage 1 6 epochs frozen backbones, stage 2 6 epochs last dense block); seed 42; molecular branch in fusion: False.
## Image model - leave-one-specimen-out```Image model (LOSO): 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 3 0] [4 0 0] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.```## Molecular MLP - leave-one-specimen-out```Molecular MLP: 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 0 3] [0 0 4] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.*** All 5 features are identical for every specimen: this result reflects only the class prior, NOT molecular signal. Do not report it as a modality result. ***```## Final modelTrained on all 8 specimens. Checkpoint reload test passed. Training-set predictions are not a performance estimate.
## Limitations- Only 8 specimens; one Induced_Neoplastic specimen. No independent test set exists.- Augmented views of one image are not independent samples; 'train-view accuracy' is not performance.- Molecular features are constant across specimens (no information); that branch is off.- Images were cropped from PDF figures; image source/format differences may be learnable shortcuts.- Not a diagnostic tool; no clinical validity claimed.123456789101112131415161718192021222324252627282930313233sample_id,state_id,modality,marker,plate,file,width,height,mode,pixel_sha1NC,0,H&E,H&E,1,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/1.png,874,784,RGBA,6727848e009490dd5404374de3cb652337aa2a37NC,0,IHC,p63,9,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/9.png,679,483,RGB,d83ffcaccae0b70c2c4fbf351cd7c2aa43b1c0ffNC,0,IHC,34βE12,10,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/10.png,836,479,RGB,3971a884e03a638608dfde4798794d3a59bad4ddNC,0,IHC,AMACR,11,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/11.png,737,529,RGB,7ca512fe8f5cc21bdc321c60826f4ed0cf694150AWSO_only,0,H&E,H&E,3,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/3.png,665,531,RGBA,1e3a18c8b152d19f54dd8f2b7ccd979af3e30e2cAWSO_only,0,IHC,p63,12,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/12.png,750,488,RGB,3bd93c48014a46eeebb712cf0209ddda78a2c24aAWSO_only,0,IHC,34βE12,13,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/13.png,711,497,RGB,b7f324b0a465e00ed2d1c018df06f139ba46da3eAWSO_only,0,IHC,AMACR,14,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/14.png,802,539,RGB,92b1bdf270df2bb08f22fd2283b4e20baed16223CI,2,H&E,H&E,2,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/2.png,741,416,RGB,76d7e0d0bb3e786637fd7e94eb6d6cfe9389a5afCI,2,IHC,p63,15,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/15.png,767,539,RGBA,44ecd1ed1c2cf83fceb7a4aa768aab76f92deccaCI,2,IHC,34βE12,16,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/16.png,747,513,RGB,e6866ff9272195d9b7a280a9cb2596274a89bb8fCI,2,IHC,AMACR,17,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/17.png,320,298,RGBA,93778ed2030298d7dc4dfb69a4d39b35e11df764CI_Low,1,H&E,H&E,4,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/4.png,802,552,RGB,4adce1791e910a1a63e0b504ee645672e243942dCI_Low,1,IHC,p63,21,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/21.png,717,573,RGB,51de3a3b5b76310ecdc98abe374d1cfe4991bdedCI_Low,1,IHC,34βE12,22,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/22.png,758,579,RGB,3d2613a330b61e3d36b9438c1cac1a97848f1500CI_Low,1,IHC,AMACR,23,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/23.png,892,714,RGBA,1f27ac77ecd99995fd5dac6ddfe0b897d19753eaCI_Med,1,H&E,H&E,5,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/5.png,693,569,RGB,3222019f993f142be46f3b1ccc61e59bb116bad7CI_Med,1,IHC,p63,24,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/24.png,780,555,RGB,9bcc41d40f6963134b5bd3222c648def0410ab1bCI_Med,1,IHC,34βE12,25,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/25.png,802,556,RGB,598884ab5e1e3b90eefef0357b3181fb403ed589CI_Med,1,IHC,AMACR,26,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/26.png,880,531,RGB,40e757d365cc3882c4e8c65b1b51a88301c37340CI_High,1,H&E,H&E,6,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/6.png,811,548,RGB,f7d688d804a86ef2b4535895d63055b250b87f99CI_High,1,IHC,p63,27,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/27.png,824,539,RGB,43f59de150620eabe461b47adf229fd3f60b9b23CI_High,1,IHC,34βE12,28,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/28.png,708,533,RGB,71cb531c1066c1846f39562262baa7356ad13067CI_High,1,IHC,AMACR,29,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/29.png,872,516,RGB,e348315536aadc13e5de9be5ea493667b8ce873bDUO,1,H&E,H&E,7,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/7.png,1280,1024,RGB,77e861c91e8a5a57116a65ed312e976ab4216588DUO,1,IHC,p63,18,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/18.png,711,540,RGB,bc7400dfd323d99d85afe32ea79b288613b540eeDUO,1,IHC,34βE12,19,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/19.png,718,536,RGB,53f74b9e909fa47aee337d1da6c824d20c48a680DUO,1,IHC,AMACR,20,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/20.png,823,504,RGB,4ae2d4db35482dccd45dd2155d5b998bbadeb9d0DUO_Med,0,H&E,H&E,8,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/01_Histopathology/8.png,833,492,RGB,2287ee0b7eb38f0953873055f3fb33fa62efdf4cDUO_Med,0,IHC,p63,30,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/30.png,687,525,RGB,46a253d1a15f909025a827a4be5bdabfd3e4348fDUO_Med,0,IHC,34βE12,31,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/31.png,802,518,RGB,7de184e22373b4d76f9303c8ccab6be4cb31b30bDUO_Med,0,IHC,AMACR,32,/kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final/02_IHC/32.png,861,559,RGB,03684ba56cd8045e88649f3e3be79395e93db8ef123456789sample_id,y_true,p0,p1,p2,pred,class_in_train,correctNC,0,0.15461291,0.6786764,0.16671067,1,2,FalseAWSO_only,0,0.16498965,0.65203077,0.18297958,1,2,FalseCI,2,0.24344115,0.75654423,1.4671401e-05,1,0,FalseCI_Low,1,0.5678189,0.21976605,0.2124151,0,3,FalseCI_Med,1,0.5606321,0.27190298,0.16746488,0,3,FalseCI_High,1,0.46382204,0.32902628,0.2071517,0,3,FalseDUO,1,0.74825907,0.09025737,0.16148357,0,3,FalseDUO_Med,0,0.12657037,0.7194682,0.1539615,1,2,False12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024121:06:25 | INFO | ==============================================================================21:06:25 | INFO | PIPELINE START21:06:25 | INFO | ==============================================================================21:06:25 | INFO | Device: cuda (Tesla T4) | torch 2.11.0+cu130 | RAM 0.9GB proc / 5% sys | GPU mem 0.0GB alloc / 0.0GB peak21:06:25 | INFO | Config:{ "img_size": 224, "aug_per_image": 100, "batch_size": 16, "embed_dim": 512, "mol_embed_dim": 128, "use_molecular": false, "pretrained": true, "modality_dropout": 0.15, "stage1_epochs": 6, "stage2_epochs": 6, "lr_head": 0.0003, "lr_backbone": 1e-05, "weight_decay": 0.01, "label_smoothing": 0.1, "grad_clip": 1.0, "seed": 42, "num_workers": 2, "run_loso": true, "loso_epochs": [ 3, 3 ], "loso_eval_views": 20, "run_mlp": true, "push_to_hf": true, "hf_repo": "Mikecode123/walnut", "hf_subdir": "v2_multimodal", "hf_secret_name": "kaggle", "push_mlp_checkpoint": false, "out_dir": "/kaggle/working"}21:06:25 | INFO | ==============================================================================21:06:25 | INFO | STEP 1 | Building and validating data tables21:06:25 | INFO | ==============================================================================21:06:25 | INFO | DATA_ROOT = /kaggle/input/datasets/femiogunmola/project-training-data-final-with-image-manifests/Project_Training_Data_Final_with_Image_Manifests/Project_Training_Data_Final21:06:26 | INFO | Plate mapping check: master table agrees with both manifests (8 H&E + 24 IHC plates).21:06:28 | INFO | Plate 27: both .png and .jpg exist -> loader uses .png (JPEG differs only by compression)21:06:28 | INFO | Image modes: {'RGB': 27, 'RGBA': 5} (RGBA composited onto WHITE)21:06:28 | INFO | Class counts (specimens): {'Partial_Restoration': 4, 'Normal': 3, 'Induced_Neoplastic': 1}21:06:28 | INFO | Molecular feature audit: feature n_unique mean std missing informativeflavonoid 1 14.30 0.0 0 False alkaloid 1 4.07 0.0 0 Falseterpenoid 1 2.57 0.0 0 False phenol 1 1.80 0.0 0 False steroid 1 0.22 0.0 0 False21:06:28 | INFO | *** ALL 5 molecular features are constant across specimens -> no between-group information. Molecular branch is OFF in the fusion model and the MLP result is NOT a modality result. ***21:06:35 | INFO | Smoke test OK | logits (2, 3) | missing-marker token gets gradient | RAM 1.7GB proc / 7% sys | GPU mem 0.1GB alloc / 0.2GB peak21:06:35 | INFO | ==============================================================================21:06:35 | INFO | STEP 2a | Image model: leave-one-specimen-out validation21:06:35 | INFO | ==============================================================================21:06:35 | INFO | --- LOSO fold 1/8: hold out NC (true class Normal) ---21:06:36 | INFO | [LOSO NC] train specimens=['AWSO_only', 'CI', 'CI_Low', 'CI_Med', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[0.8600000143051147, 0.4300000071525574, 1.7100000381469727] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:06:36 | INFO | [LOSO NC] stage 1: backbones frozen, heads only | trainable params 1.46M21:06:50 | INFO | [LOSO NC] stage 1 ep 1/3 (total 1/6) | loss 0.5955 | train-view acc 0.864 (TRAINING views, not a performance estimate) | 14s | RAM 2.3GB proc / 10% sys | GPU mem 0.1GB alloc / 0.5GB peak21:07:04 | INFO | [LOSO NC] stage 1 ep 2/3 (total 2/6) | loss 0.4087 | train-view acc 0.997 (TRAINING views, not a performance estimate) | 13s | RAM 2.3GB proc / 10% sys | GPU mem 0.1GB alloc / 0.5GB peak21:07:17 | INFO | [LOSO NC] stage 1 ep 3/3 (total 3/6) | loss 0.4070 | train-view acc 0.997 (TRAINING views, not a performance estimate) | 13s | RAM 2.3GB proc / 10% sys | GPU mem 0.1GB alloc / 0.5GB peak21:07:17 | INFO | [LOSO NC] stage 2: last dense block + heads | trainable params 5.78M21:07:31 | INFO | [LOSO NC] stage 2 ep 1/3 (total 4/6) | loss 0.4060 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.6GB peak21:07:45 | INFO | [LOSO NC] stage 2 ep 2/3 (total 5/6) | loss 0.4011 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.6GB peak21:07:58 | INFO | [LOSO NC] stage 2 ep 3/3 (total 6/6) | loss 0.3949 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.6GB peak21:07:58 | INFO | [LOSO NC] finished in 1.4 min21:08:00 | INFO | [LOSO NC] true=Normal pred=Partial_Restoration probs=(0.15,0.68,0.17) | class examples left in training: 221:08:00 | INFO | Fold saved. 1/8 done | elapsed 1.4 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:08:00 | INFO | --- LOSO fold 2/8: hold out AWSO_only (true class Normal) ---21:08:01 | INFO | [LOSO AWSO_only] train specimens=['NC', 'CI', 'CI_Low', 'CI_Med', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[0.8600000143051147, 0.4300000071525574, 1.7100000381469727] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:08:01 | INFO | [LOSO AWSO_only] stage 1: backbones frozen, heads only | trainable params 1.46M21:08:14 | INFO | [LOSO AWSO_only] stage 1 ep 1/3 (total 1/6) | loss 0.5879 | train-view acc 0.873 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:08:27 | INFO | [LOSO AWSO_only] stage 1 ep 2/3 (total 2/6) | loss 0.4094 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:08:40 | INFO | [LOSO AWSO_only] stage 1 ep 3/3 (total 3/6) | loss 0.4063 | train-view acc 0.996 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:08:40 | INFO | [LOSO AWSO_only] stage 2: last dense block + heads | trainable params 5.78M21:08:54 | INFO | [LOSO AWSO_only] stage 2 ep 1/3 (total 4/6) | loss 0.4054 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 11% sys | GPU mem 0.2GB alloc / 0.7GB peak21:09:08 | INFO | [LOSO AWSO_only] stage 2 ep 2/3 (total 5/6) | loss 0.4020 | train-view acc 0.997 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:09:21 | INFO | [LOSO AWSO_only] stage 2 ep 3/3 (total 6/6) | loss 0.3939 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:09:21 | INFO | [LOSO AWSO_only] finished in 1.3 min21:09:22 | INFO | [LOSO AWSO_only] true=Normal pred=Partial_Restoration probs=(0.16,0.65,0.18) | class examples left in training: 221:09:22 | INFO | Fold saved. 2/8 done | elapsed 2.8 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:09:22 | INFO | --- LOSO fold 3/8: hold out CI (true class Induced_Neoplastic) ---21:09:23 | INFO | [LOSO CI] train specimens=['NC', 'AWSO_only', 'CI_Low', 'CI_Med', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[1.1399999856948853, 0.8600000143051147, 0.0] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:09:23 | INFO | [LOSO CI] stage 1: backbones frozen, heads only | trainable params 1.46M21:09:36 | INFO | [LOSO CI] stage 1 ep 1/3 (total 1/6) | loss 0.3136 | train-view acc 0.910 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:09:50 | INFO | [LOSO CI] stage 1 ep 2/3 (total 2/6) | loss 0.1808 | train-view acc 0.990 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:10:04 | INFO | [LOSO CI] stage 1 ep 3/3 (total 3/6) | loss 0.1664 | train-view acc 0.997 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:10:04 | INFO | [LOSO CI] stage 2: last dense block + heads | trainable params 5.78M21:10:18 | INFO | [LOSO CI] stage 2 ep 1/3 (total 4/6) | loss 0.1668 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:10:32 | INFO | [LOSO CI] stage 2 ep 2/3 (total 5/6) | loss 0.1606 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:10:46 | INFO | [LOSO CI] stage 2 ep 3/3 (total 6/6) | loss 0.1575 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:10:46 | INFO | [LOSO CI] finished in 1.4 min21:10:47 | INFO | [LOSO CI] true=Induced_Neoplastic pred=Partial_Restoration probs=(0.24,0.76,0.00) | class examples left in training: 0 <-- this class had NO training examples21:10:48 | INFO | Fold saved. 3/8 done | elapsed 4.2 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:10:48 | INFO | --- LOSO fold 4/8: hold out CI_Low (true class Partial_Restoration) ---21:10:48 | INFO | [LOSO CI_Low] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Med', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[0.6000000238418579, 0.6000000238418579, 1.7999999523162842] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:10:48 | INFO | [LOSO CI_Low] stage 1: backbones frozen, heads only | trainable params 1.46M21:11:02 | INFO | [LOSO CI_Low] stage 1 ep 1/3 (total 1/6) | loss 0.5904 | train-view acc 0.886 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:11:15 | INFO | [LOSO CI_Low] stage 1 ep 2/3 (total 2/6) | loss 0.3981 | train-view acc 0.996 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:11:28 | INFO | [LOSO CI_Low] stage 1 ep 3/3 (total 3/6) | loss 0.3855 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:11:28 | INFO | [LOSO CI_Low] stage 2: last dense block + heads | trainable params 5.78M21:11:42 | INFO | [LOSO CI_Low] stage 2 ep 1/3 (total 4/6) | loss 0.3875 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:11:55 | INFO | [LOSO CI_Low] stage 2 ep 2/3 (total 5/6) | loss 0.3831 | train-view acc 0.997 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:12:08 | INFO | [LOSO CI_Low] stage 2 ep 3/3 (total 6/6) | loss 0.3782 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:12:08 | INFO | [LOSO CI_Low] finished in 1.3 min21:12:09 | INFO | [LOSO CI_Low] true=Partial_Restoration pred=Normal probs=(0.57,0.22,0.21) | class examples left in training: 321:12:10 | INFO | Fold saved. 4/8 done | elapsed 5.6 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:12:10 | INFO | --- LOSO fold 5/8: hold out CI_Med (true class Partial_Restoration) ---21:12:10 | INFO | [LOSO CI_Med] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Low', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[0.6000000238418579, 0.6000000238418579, 1.7999999523162842] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:12:10 | INFO | [LOSO CI_Med] stage 1: backbones frozen, heads only | trainable params 1.46M21:12:24 | INFO | [LOSO CI_Med] stage 1 ep 1/3 (total 1/6) | loss 0.5942 | train-view acc 0.884 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:12:37 | INFO | [LOSO CI_Med] stage 1 ep 2/3 (total 2/6) | loss 0.3994 | train-view acc 0.996 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:12:50 | INFO | [LOSO CI_Med] stage 1 ep 3/3 (total 3/6) | loss 0.3863 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:12:50 | INFO | [LOSO CI_Med] stage 2: last dense block + heads | trainable params 5.78M21:13:04 | INFO | [LOSO CI_Med] stage 2 ep 1/3 (total 4/6) | loss 0.3916 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:13:17 | INFO | [LOSO CI_Med] stage 2 ep 2/3 (total 5/6) | loss 0.3832 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 11% sys | GPU mem 0.2GB alloc / 0.7GB peak21:13:31 | INFO | [LOSO CI_Med] stage 2 ep 3/3 (total 6/6) | loss 0.3784 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:13:31 | INFO | [LOSO CI_Med] finished in 1.4 min21:13:32 | INFO | [LOSO CI_Med] true=Partial_Restoration pred=Normal probs=(0.56,0.27,0.17) | class examples left in training: 321:13:32 | INFO | Fold saved. 5/8 done | elapsed 7.0 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:13:32 | INFO | --- LOSO fold 6/8: hold out CI_High (true class Partial_Restoration) ---21:13:33 | INFO | [LOSO CI_High] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Low', 'CI_Med', 'DUO', 'DUO_Med'] | class weights=[0.6000000238418579, 0.6000000238418579, 1.7999999523162842] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:13:33 | INFO | [LOSO CI_High] stage 1: backbones frozen, heads only | trainable params 1.46M21:13:46 | INFO | [LOSO CI_High] stage 1 ep 1/3 (total 1/6) | loss 0.5850 | train-view acc 0.886 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:13:59 | INFO | [LOSO CI_High] stage 1 ep 2/3 (total 2/6) | loss 0.4029 | train-view acc 0.996 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:14:12 | INFO | [LOSO CI_High] stage 1 ep 3/3 (total 3/6) | loss 0.3841 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:14:12 | INFO | [LOSO CI_High] stage 2: last dense block + heads | trainable params 5.78M21:14:26 | INFO | [LOSO CI_High] stage 2 ep 1/3 (total 4/6) | loss 0.3926 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:14:39 | INFO | [LOSO CI_High] stage 2 ep 2/3 (total 5/6) | loss 0.3839 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:14:53 | INFO | [LOSO CI_High] stage 2 ep 3/3 (total 6/6) | loss 0.3777 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:14:53 | INFO | [LOSO CI_High] finished in 1.3 min21:14:54 | INFO | [LOSO CI_High] true=Partial_Restoration pred=Normal probs=(0.46,0.33,0.21) | class examples left in training: 321:14:54 | INFO | Fold saved. 6/8 done | elapsed 8.3 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:14:54 | INFO | --- LOSO fold 7/8: hold out DUO (true class Partial_Restoration) ---21:14:55 | INFO | [LOSO DUO] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Low', 'CI_Med', 'CI_High', 'DUO_Med'] | class weights=[0.6000000238418579, 0.6000000238418579, 1.7999999523162842] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:14:55 | INFO | [LOSO DUO] stage 1: backbones frozen, heads only | trainable params 1.46M21:15:08 | INFO | [LOSO DUO] stage 1 ep 1/3 (total 1/6) | loss 0.5865 | train-view acc 0.887 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:15:21 | INFO | [LOSO DUO] stage 1 ep 2/3 (total 2/6) | loss 0.3967 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:15:34 | INFO | [LOSO DUO] stage 1 ep 3/3 (total 3/6) | loss 0.3847 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:15:34 | INFO | [LOSO DUO] stage 2: last dense block + heads | trainable params 5.78M21:15:47 | INFO | [LOSO DUO] stage 2 ep 1/3 (total 4/6) | loss 0.3900 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:16:00 | INFO | [LOSO DUO] stage 2 ep 2/3 (total 5/6) | loss 0.3803 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:16:14 | INFO | [LOSO DUO] stage 2 ep 3/3 (total 6/6) | loss 0.3778 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.2GB alloc / 0.7GB peak21:16:14 | INFO | [LOSO DUO] finished in 1.3 min21:16:15 | INFO | [LOSO DUO] true=Partial_Restoration pred=Normal probs=(0.75,0.09,0.16) | class examples left in training: 321:16:15 | INFO | Fold saved. 7/8 done | elapsed 9.7 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:16:15 | INFO | --- LOSO fold 8/8: hold out DUO_Med (true class Normal) ---21:16:16 | INFO | [LOSO DUO_Med] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Low', 'CI_Med', 'CI_High', 'DUO'] | class weights=[0.8600000143051147, 0.4300000071525574, 1.7100000381469727] | 700 augmented samples/epoch (100 per specimen, 100 per image)21:16:16 | INFO | [LOSO DUO_Med] stage 1: backbones frozen, heads only | trainable params 1.46M21:16:29 | INFO | [LOSO DUO_Med] stage 1 ep 1/3 (total 1/6) | loss 0.5992 | train-view acc 0.870 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:16:43 | INFO | [LOSO DUO_Med] stage 1 ep 2/3 (total 2/6) | loss 0.4107 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:16:56 | INFO | [LOSO DUO_Med] stage 1 ep 3/3 (total 3/6) | loss 0.3989 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:16:56 | INFO | [LOSO DUO_Med] stage 2: last dense block + heads | trainable params 5.78M21:17:09 | INFO | [LOSO DUO_Med] stage 2 ep 1/3 (total 4/6) | loss 0.4033 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:17:23 | INFO | [LOSO DUO_Med] stage 2 ep 2/3 (total 5/6) | loss 0.3965 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 14s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:17:37 | INFO | [LOSO DUO_Med] stage 2 ep 3/3 (total 6/6) | loss 0.3932 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 13s | RAM 2.4GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:17:37 | INFO | [LOSO DUO_Med] finished in 1.4 min21:17:38 | INFO | [LOSO DUO_Med] true=Normal pred=Partial_Restoration probs=(0.13,0.72,0.15) | class examples left in training: 221:17:38 | INFO | Fold saved. 8/8 done | elapsed 11.0 min | RAM 2.4GB proc / 10% sys | GPU mem 0.0GB alloc / 0.7GB peak21:17:38 | INFO | sample_id y_true pred p0 p1 p2 class_in_train correct NC 0 1 0.155 0.679 0.167 2 FalseAWSO_only 0 1 0.165 0.652 0.183 2 False CI 2 1 0.243 0.757 0.000 0 False CI_Low 1 0 0.568 0.220 0.212 3 False CI_Med 1 0 0.561 0.272 0.167 3 False CI_High 1 0 0.464 0.329 0.207 3 False DUO 1 0 0.748 0.090 0.161 3 False DUO_Med 0 1 0.127 0.719 0.154 2 False21:17:38 | INFO | Image model (LOSO): 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 3 0] [4 0 0] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.21:17:38 | INFO | ==============================================================================21:17:38 | INFO | STEP 2b | Molecular MLP (leave-one-specimen-out)21:17:38 | INFO | ==============================================================================21:17:43 | INFO | MLP LOSO predictions:sample_id y_true pred p0 p1 p2 correct NC 0 2 0.306 0.316 0.378 FalseAWSO_only 0 2 0.306 0.316 0.378 False CI 2 1 0.466 0.534 0.000 False CI_Low 1 2 0.296 0.323 0.380 False CI_Med 1 2 0.296 0.323 0.380 False CI_High 1 2 0.296 0.323 0.380 False DUO 1 2 0.296 0.323 0.380 False DUO_Med 0 2 0.309 0.314 0.377 False21:17:43 | INFO | Molecular MLP: 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)Majority-class baseline under the same LOSO: 0/8Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):[[0 0 3] [0 0 4] [0 1 0]]Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.*** All 5 features are identical for every specimen: this result reflects only the class prior, NOT molecular signal. Do not report it as a modality result. ***21:17:43 | INFO | ==============================================================================21:17:43 | INFO | STEP 3 | Final image model on all 8 specimens21:17:43 | INFO | ==============================================================================21:17:44 | INFO | [FINAL] train specimens=['NC', 'AWSO_only', 'CI', 'CI_Low', 'CI_Med', 'CI_High', 'DUO', 'DUO_Med'] | class weights=[0.6299999952316284, 0.4699999988079071, 1.8899999856948853] | 800 augmented samples/epoch (100 per specimen, 100 per image)21:17:44 | INFO | [FINAL] stage 1: backbones frozen, heads only | trainable params 1.46M21:17:59 | INFO | [FINAL] stage 1 ep 1/6 (total 1/12) | loss 0.6181 | train-view acc 0.846 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:18:14 | INFO | [FINAL] stage 1 ep 2/6 (total 2/12) | loss 0.4212 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:18:29 | INFO | [FINAL] stage 1 ep 3/6 (total 3/12) | loss 0.4113 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:18:44 | INFO | [FINAL] stage 1 ep 4/6 (total 4/12) | loss 0.4031 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:18:59 | INFO | [FINAL] stage 1 ep 5/6 (total 5/12) | loss 0.4056 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 11% sys | GPU mem 0.1GB alloc / 0.7GB peak21:19:14 | INFO | [FINAL] stage 1 ep 6/6 (total 6/12) | loss 0.4069 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 10% sys | GPU mem 0.1GB alloc / 0.7GB peak21:19:14 | INFO | [FINAL] stage 2: last dense block + heads | trainable params 5.78M21:19:29 | INFO | [FINAL] stage 2 ep 1/6 (total 7/12) | loss 0.4091 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 16s | RAM 2.5GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:19:45 | INFO | [FINAL] stage 2 ep 2/6 (total 8/12) | loss 0.4052 | train-view acc 0.996 (TRAINING views, not a performance estimate) | 16s | RAM 2.5GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:20:01 | INFO | [FINAL] stage 2 ep 3/6 (total 9/12) | loss 0.4037 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 16s | RAM 2.5GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:20:16 | INFO | [FINAL] stage 2 ep 4/6 (total 10/12) | loss 0.4036 | train-view acc 0.998 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:20:32 | INFO | [FINAL] stage 2 ep 5/6 (total 11/12) | loss 0.4003 | train-view acc 0.999 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 11% sys | GPU mem 0.2GB alloc / 0.7GB peak21:20:47 | INFO | [FINAL] stage 2 ep 6/6 (total 12/12) | loss 0.3993 | train-view acc 1.000 (TRAINING views, not a performance estimate) | 15s | RAM 2.5GB proc / 10% sys | GPU mem 0.2GB alloc / 0.7GB peak21:20:47 | INFO | [FINAL] finished in 3.1 min21:20:48 | INFO | Checkpoint saved: /kaggle/working/densenet121_multimodal.pt (63 MB)21:20:48 | INFO | Checkpoint load: missing keys=0 | unexpected keys=021:20:50 | INFO | CHECKPOINT RELOAD TEST PASSED (identical predictions after reconstructing from file)21:20:50 | INFO | Resubstitution on TRAINING specimens (NOT a performance estimate):sample_id y_true p0 p1 p2 pred NC 0 0.865 0.025 0.110 0AWSO_only 0 0.878 0.021 0.101 0 CI 2 0.009 0.006 0.985 2 CI_Low 1 0.047 0.811 0.142 1 CI_Med 1 0.045 0.814 0.142 1 CI_High 1 0.047 0.814 0.139 1 DUO 1 0.046 0.816 0.138 1 DUO_Med 0 0.866 0.029 0.105 021:20:50 | INFO | ==============================================================================21:20:50 | INFO | STEP 4 | Hugging Face upload21:20:50 | INFO | ==============================================================================21:20:51 | INFO | staged densenet121_multimodal.pt (62.7 MB)21:20:51 | INFO | staged loso_results.csv (0.0 MB)21:20:51 | INFO | staged config.json (0.0 MB)21:20:51 | INFO | staged specimen_table.csv (0.0 MB)21:20:51 | INFO | staged image_index.csv (0.0 MB)21:20:51 | INFO | staged feature_audit.csv (0.0 MB)21:20:51 | INFO | staged final_report.md (0.0 MB)123456789sample_id,experimental_group,dose,biological_state,state_id,h_and_e_plate,p63_plate,hmwck_plate,amacr_plate,state_nameNC,Normal Control,,Normal,0,1,9,10,11,NormalAWSO_only,High-dose AWSO only,10.0 ml/kg,Normal,0,3,12,13,14,NormalCI,Cancer-Induced (CdCl2+TP),1+5 mg/kg,Induced_Neoplastic,2,2,15,16,17,Induced_NeoplasticCI_Low,CI + Low AWSO,2.5 ml/kg,Partial_Restoration,1,4,21,22,23,Partial_RestorationCI_Med,CI + Medium AWSO,5.0 ml/kg,Partial_Restoration,1,5,24,25,26,Partial_RestorationCI_High,CI + High AWSO,10.0 ml/kg,Partial_Restoration,1,6,27,28,29,Partial_RestorationDUO,CI + Duodart,9.8 mg/kg,Partial_Restoration,1,7,18,19,20,Partial_RestorationDUO_Med,CI + Duodart + Medium AWSO,9.8+5.0,Near_Normal,0,8,30,31,32,Normalv2_multimodal/README.mdAdded+45
v2_multimodal/config.jsonAdded+32
v2_multimodal/densenet121_multimodal.ptAdded+3
v2_multimodal/feature_audit.csvAdded+6
v2_multimodal/final_report.mdAdded+36
v2_multimodal/image_index.csvAdded+33
v2_multimodal/loso_results.csvAdded+9
v2_multimodal/run_log.txtAdded+241
v2_multimodal/specimen_table.csvAdded+9