Skip to content

Commit b5e89ed

Browse files
committed
revert changes
1 parent 03169e3 commit b5e89ed

2 files changed

Lines changed: 39 additions & 39 deletions

File tree

olmoearth_pretrain/internal/all_evals.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -400,39 +400,39 @@ def load_user_module(path: str) -> Any:
400400
}
401401

402402
FT_EVAL_TASKS = {
403-
# "m_eurosat": DownstreamTaskConfig(
404-
# dataset="m-eurosat",
405-
# ft_batch_size=64,
406-
# num_workers=0,
407-
# pooling_type=PoolingType.MEAN,
408-
# norm_stats_from_pretrained=True,
409-
# epochs=50,
410-
# ),
411-
# "m_bigearthnet": DownstreamTaskConfig(
412-
# dataset="m-bigearthnet",
413-
# ft_batch_size=16,
414-
# num_workers=4,
415-
# pooling_type=PoolingType.MEAN,
416-
# norm_stats_from_pretrained=True,
417-
# epochs=50,
418-
# ),
419-
# "m_so2sat": DownstreamTaskConfig(
420-
# dataset="m-so2sat",
421-
# ft_batch_size=32,
422-
# num_workers=4,
423-
# pooling_type=PoolingType.MEAN,
424-
# norm_stats_from_pretrained=True,
425-
# epochs=50,
426-
# ),
427-
# "m_sa_crop_type": DownstreamTaskConfig(
428-
# dataset="m-sa-crop-type",
429-
# ft_batch_size=32,
430-
# num_workers=2,
431-
# pooling_type=PoolingType.MEAN,
432-
# norm_stats_from_pretrained=False,
433-
# norm_method=NormMethod.NORM_NO_CLIP_2_STD,
434-
# epochs=50,
435-
# ),
403+
"m_eurosat": DownstreamTaskConfig(
404+
dataset="m-eurosat",
405+
ft_batch_size=64,
406+
num_workers=0,
407+
pooling_type=PoolingType.MEAN,
408+
norm_stats_from_pretrained=True,
409+
epochs=50,
410+
),
411+
"m_bigearthnet": DownstreamTaskConfig(
412+
dataset="m-bigearthnet",
413+
ft_batch_size=16,
414+
num_workers=4,
415+
pooling_type=PoolingType.MEAN,
416+
norm_stats_from_pretrained=True,
417+
epochs=50,
418+
),
419+
"m_so2sat": DownstreamTaskConfig(
420+
dataset="m-so2sat",
421+
ft_batch_size=32,
422+
num_workers=4,
423+
pooling_type=PoolingType.MEAN,
424+
norm_stats_from_pretrained=True,
425+
epochs=50,
426+
),
427+
"m_sa_crop_type": DownstreamTaskConfig(
428+
dataset="m-sa-crop-type",
429+
ft_batch_size=32,
430+
num_workers=2,
431+
pooling_type=PoolingType.MEAN,
432+
norm_stats_from_pretrained=False,
433+
norm_method=NormMethod.NORM_NO_CLIP_2_STD,
434+
epochs=50,
435+
),
436436
"mados": DownstreamTaskConfig(
437437
dataset="mados",
438438
ft_batch_size=16,

olmoearth_pretrain/internal/full_eval_sweep_finetune.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ class ModelPreset:
9999
),
100100
"anysat": ModelPreset(
101101
per_task_overrides={"norm_method": "NormMethod.STANDARDIZE"},
102-
# task_specific_overrides={
103-
# "m_sa_crop_type": {"ft_batch_size": 8, "patch_size": 8},
104-
# "pastis_sentinel2": {"ft_batch_size": 4},
105-
# "m_cashew_plant": {"ft_batch_size": 4, "patch_size": 8},
106-
# "m_forestnet": {"ft_batch_size": 2, "patch_size": 16},
107-
# },
102+
task_specific_overrides={
103+
"m_sa_crop_type": {"ft_batch_size": 8, "patch_size": 8},
104+
"pastis_sentinel2": {"ft_batch_size": 4},
105+
"m_cashew_plant": {"ft_batch_size": 4, "patch_size": 8},
106+
"m_forestnet": {"ft_batch_size": 2, "patch_size": 16},
107+
},
108108
),
109109
# Models with pretrained normalizer
110110
"terramind": ModelPreset(

0 commit comments

Comments
 (0)