Upload histomethyl_gigapath_hparams.yaml
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121devices_per_job: 4model: litmodule: _target_: hescape.modules.pretrain_module.PretrainModule _partial_: true input_genes: 1187190 embed_dim: 768 img_enc_name: gigapath gene_enc_name: cpgpt cpgpt_model_name: large tile_finetune: frozen slide_finetune: full gene_finetune: frozen loss: CLIP img_proj: mlp gene_proj: mlp n_tissue: null n_region: null image_size: 224 temperature: 0.07 lr: 0.0001 weight_decay: 0.01 optimizer: lr: 0.0001 weight_decay: 0.01 cosine_scheduler: _target_: hescape.modules._utils._get_cosine_schedule_with_warmup_lr_lambda _partial_: true num_warmup_steps: 780 num_cycles: 0.5 num_training_steps: 40000 monitor: val_loss evaluations: batch_key: id label_key: organtraining: lightning: trainer: _target_: pytorch_lightning.Trainer _partial_: true max_steps: 40000 enable_progress_bar: true num_nodes: 1 strategy: ddp_find_unused_parameters_true precision: bf16-mixed log_every_n_steps: 10 val_check_interval: 1.0 sync_batchnorm: true accelerator: gpu gradient_clip_val: 5 num_sanity_val_steps: 2 profiler: null max_epochs: 10 devices: 4 train: true test: false evaluations: batch_key: id label_key: organ callbacks: model_checkpoint: _target_: pytorch_lightning.callbacks.ModelCheckpoint monitor: val_loss save_last: true mode: min save_top_k: -1 dirpath: /anvil/projects/x-cis250966/dna/hescapedna/results/slide_full_finetune_dna_frozen_0223_1620/checkpoints auto_insert_metric_name: true early_stopping: _target_: pytorch_lightning.callbacks.EarlyStopping monitor: val_loss min_delta: 0.01 patience: 5 mode: min lr_monitor: _target_: pytorch_lightning.callbacks.LearningRateMonitor logging_interval: step logger: csv: _target_: pytorch_lightning.loggers.csv_logs.CSVLogger save_dir: /anvil/projects/x-cis250966/dna/hescapedna/results/slide_full_finetune_dna_frozen_0223_1620/csv_logger name: '' prefix: '' wandb: _target_: pytorch_lightning.loggers.wandb.WandbLogger save_dir: /anvil/projects/x-cis250966/dna/hescapedna/results/slide_full_finetune_dna_frozen_0223_1620/wandb_logger log_model: false project: hescape_training name: localpaths: anatomy: dataset_name: wsi_dnameth train_csv: /home/exouser/Public/modified/data/human-lung-healthy-panel/train.csv val_csv: /home/exouser/Public/modified/data/human-lung-healthy-panel/val.csv test_csv: /home/exouser/Public/modified/data/human-lung-healthy-panel/test.csv output: /anvil/projects/x-cis250966/dna/hescapedna/results/slide_full_finetune_dna_frozen_0223_1620 pretrain_weights: drvi_model_dir: drvi_human_lung_healthy_panel data_gene_reference_path: ../human_lung_healthy_panel/nicheformer_reference.h5ad data_files_path: /anvil/projects/x-cis250966/dna/hescapedna/data/wsi_dnameth/raw base_output_path: /anvil/projects/x-cis250966/dna/hescapedna/results data_root_dir: /anvil/projects/x-cis250966/dna/hescapedna/data/wsi_dnameth cpgpt_root_dir: /anvil/projects/x-cis250966/dna/hescapedna/data/cpgpt_files pretrain_weights: img_enc_path: /home/exouser/Public/pretrained_weights/image base_data_gene_reference_path: /p/project1/hai_spatial_clip/hescape/datadatamodule: _target_: hescape.data_modules.dnameth_wsi_dataset.DnaMethWSIDataModule root_dir: /anvil/projects/x-cis250966/dna/hescapedna/data/wsi_dnameth/raw jsonl_path: /anvil/projects/x-cis250966/dna/hescapedna/data/wsi_dnameth/index_train_tiled.jsonl batch_size: 48 num_workers: 8 pin_memory: true persistent_workers: true val_ratio: 0.1 test_ratio: 0.0 seed: 24442 dropna: true cpgpt_root_dir: /anvil/projects/x-cis250966/dna/hescapedna/data/cpgpt_files cpgpt_model_name: largename: hescape_default_traininghistomethyl_gigapath_hparams.yamlAdded+121