Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
HieuPhan33 committed Mar 29, 2024
1 parent 9de75f7 commit 353140b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ Pretrain/.vscode/launch_model.json
Pretrain/cl_global_1e-1_clean
# Pretrain
*/__pycached__
Zero-shot_classification/*csv
4 changes: 3 additions & 1 deletion Zero-shot_classification/configs/rsna_mavl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ concept_book: '../Pretrain/concept_gen/gpt4_mimic.json'
dataset: 'rsna'
root: '/data/data/rsna'
model: mavl
model_path: '../checkpoints/checkpoint_full_40.pth'
# model_path: '../checkpoints/checkpoint_full_40.pth'
model_path: '../../medslip/checkpoints/cl_global_1e-1_true/checkpoint_40.pth'


image_res: 224
test_batch_size: 512
Expand Down
3 changes: 3 additions & 0 deletions Zero-shot_classification/result_mavl_siim_feature.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Class Name,Accuracy,Max F1,AUC ROC,Precision,Recall
pneumothorax,0.8713854121709107,0.7795100222717148,0.9204018547140648,0.75,0.8114374034003091
Average,0.8713854121709107,0.7795100222717148,0.9204018547140648,0.75,0.8114374034003091
4 changes: 3 additions & 1 deletion Zero-shot_grounding/configs/rsna_mavl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ dataset: rsna
root: /data/data/rsna/
target: pneumonia
model: mavl
model_path: '../checkpoints/checkpoint_full_40.pth'
# model_path: '../checkpoints/checkpoint_full_40.pth'
model_path: '../../medslip/checkpoints/cl_global_1e-1_true/checkpoint_40.pth'


image_res: 224
test_batch_size: 512
Expand Down

0 comments on commit 353140b

Please sign in to comment.