samwell commited on
Commit
1116cdd
·
verified ·
1 Parent(s): fe15020

Upload train_medsiglip.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train_medsiglip.py +4 -5
train_medsiglip.py CHANGED
@@ -54,12 +54,11 @@ class Config:
54
  # Data
55
  data_url: str = "https://zenodo.org/records/17655183/files/DatasetV3.zip?download=1"
56
  data_dir: Path = Path("./data")
57
- image_size: int = 384 # SigLIP native resolution (448 for MedSigLIP)
58
 
59
- # Model - SigLIP (use MedSigLIP when access granted)
60
- # For MedSigLIP: "google/medsiglip-448" (gated, requires access)
61
- encoder_name: str = "siglip"
62
- encoder_pretrained: str = "google/siglip-so400m-patch14-384"
63
  encoder_hidden_dim: int = 1152 # SigLIP-SO400M hidden dim
64
  projection_dim: int = 256
65
 
 
54
  # Data
55
  data_url: str = "https://zenodo.org/records/17655183/files/DatasetV3.zip?download=1"
56
  data_dir: Path = Path("./data")
57
+ image_size: int = 448 # MedSigLIP native resolution
58
 
59
+ # Model - MedSigLIP (HAI-DEF model for competition)
60
+ encoder_name: str = "medsiglip"
61
+ encoder_pretrained: str = "google/medsiglip-448"
 
62
  encoder_hidden_dim: int = 1152 # SigLIP-SO400M hidden dim
63
  projection_dim: int = 256
64