thethomasboyer commited on
Commit
674d879
·
verified ·
1 Parent(s): 783010c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. biotine_unpaired/dynamic/scheduler_config.json +19 -0
  2. chromalive/dynamic/scheduler_config.json +19 -0
  3. chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel.yaml +16 -0
  4. chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_fully_ordered_inference.py +10 -0
  5. chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_hard_aug_inference.py +9 -0
  6. chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_inference.py +9 -0
  7. chromalive/my_conf/dataset/BBBC021/BBBC021_196_nocodazole_fully_ordered_inference.py +27 -0
  8. chromalive/my_conf/dataset/BBBC048/bbbc048.yaml +21 -0
  9. chromalive/my_conf/dataset/BBBC048/bbbc048_inference.py +7 -0
  10. chromalive/my_conf/dataset/BBBC048/bbbc048_inference_fully_ordered.py +9 -0
  11. chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png.yaml +19 -0
  12. chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png_high_doses_fully_ordered.yaml +27 -0
  13. chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_4ch_tif.yaml +19 -0
  14. chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fc_augs_inference.py +9 -0
  15. chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fc_many_augs_inference.py +9 -0
  16. chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fully_ordered_inference.py +9 -0
  17. chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_hard_aug_inference.py +9 -0
  18. chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_inference.py +8 -0
  19. chromalive/my_conf/dataset/DeepCycle/deepcycle_brightfield_to_3D_inference.py +3 -0
  20. chromalive/my_conf/dataset/DeepCycle/deepcycle_hoechst_brightfield_to_3D_inference.py +3 -0
  21. chromalive/my_conf/dataset/DeepCycle/deepcycle_inference.py +3 -0
  22. chromalive/my_conf/dataset/DeepCycle/deepcycle_markers_inference.py +3 -0
  23. chromalive/my_conf/dataset/Jurkat/Jurkat.yaml +16 -0
  24. chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_inference.py +3 -0
  25. chromalive/my_conf/dataset/Jurkat/Jurkat_fully_ordered.yaml +18 -0
  26. chromalive/my_conf/dataset/Jurkat/Jurkat_inference.py +8 -0
  27. chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis.yaml +24 -0
  28. chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_fully_ordered_inference.py +4 -0
  29. chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered.yaml +26 -0
  30. chromalive/my_conf/dataset/biotine/biotine_png_128.yaml +19 -0
  31. chromalive/my_conf/dataset/biotine/biotine_png_128_fully_ordered.yaml +21 -0
  32. chromalive/my_conf/dataset/biotine/biotine_png_128_fully_ordered_inference.py +18 -0
  33. chromalive/my_conf/dataset/biotine/biotine_png_128_hard_aug.yaml +16 -0
  34. chromalive/my_conf/dataset/biotine/biotine_png_128_hard_aug_inference.py +8 -0
  35. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy.yaml +18 -0
  36. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_crop_fully_ordered.yaml +25 -0
  37. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_fully_ordered.yaml +21 -0
  38. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_fully_ordered_inference.py +18 -0
  39. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_fully_ordered_inference.py +15 -0
  40. chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_inference.py +5 -0
  41. chromalive/my_conf/dataset/ependymal_context/ependymal_context_inference.py +32 -0
  42. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_fc_augs_sep_gt_inference.py +19 -0
  43. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_separate_gt_fully_ordered_inference.py +18 -0
  44. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_03_noised_separate_gt_inference.py +17 -0
  45. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_fully_ordered_inference.py +9 -0
  46. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_inference.py +8 -0
  47. chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_white_bg_separate_gt_fully_ordered_inference.py +19 -0
  48. chromalive/my_conf/dataset/human_embryo/human_embryo_inference.py +5 -0
  49. chromalive/my_conf/dataset/imagenet_n01917289_hard_aug_inference.py +36 -0
  50. chromalive/my_conf/hydra/job_logging/custom.yaml +35 -0
biotine_unpaired/dynamic/scheduler_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.35.2",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 3000,
11
+ "prediction_type": "v_prediction",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
+ "set_alpha_to_one": true,
15
+ "steps_offset": 0,
16
+ "thresholding": true,
17
+ "timestep_spacing": "leading",
18
+ "trained_betas": null
19
+ }
chromalive/dynamic/scheduler_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.35.2",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 3000,
11
+ "prediction_type": "v_prediction",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
+ "set_alpha_to_one": true,
15
+ "steps_offset": 0,
16
+ "thresholding": true,
17
+ "timestep_spacing": "leading",
18
+ "trained_betas": null
19
+ }
chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: BBBC021_196_docetaxel
2
+ path: /projects/static2dynamic/datasets/BBBC021/196x196/docetaxel
3
+ data_shape: [3, 196, 196]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
8
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
9
+ - _target_: torchvision.transforms.Normalize
10
+ mean: [0.5, 0.5, 0.5]
11
+ std: [0.5, 0.5, 0.5]
12
+ - _target_: torchvision.transforms.RandomHorizontalFlip
13
+ - _target_: torchvision.transforms.RandomVerticalFlip
14
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
15
+ expected_initial_data_range: [0, 255]
16
+ expected_dtype: torch.uint8
chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_fully_ordered_inference.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC021.BBBC021_196_fully_ordered_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name=dataset.name + "_docetaxel",
8
+ path="/projects/static2dynamic/datasets/BBBC021/196x196/docetaxel",
9
+ path_to_single_parquet="/projects/static2dynamic/datasets/BBBC021/196x196/BBBC021_196_docetaxel__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
10
+ )
chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_hard_aug_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC021.BBBC021_196_hard_aug_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name=dataset.name + "_docetaxel",
8
+ path="/projects/static2dynamic/datasets/BBBC021/196x196/docetaxel_hard_augmented",
9
+ )
chromalive/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC021.BBBC021_196_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name=dataset.name + "_docetaxel",
8
+ path="/projects/static2dynamic/datasets/BBBC021/196x196/docetaxel",
9
+ )
chromalive/my_conf/dataset/BBBC021/BBBC021_196_nocodazole_fully_ordered_inference.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC021.BBBC021_196_fully_ordered_inference import dataset
4
+
5
+ # Nocodazole classes + DMSO
6
+ CLASSES_IN_ORDER = (
7
+ "DMSO",
8
+ "nocodazole_0.001",
9
+ "nocodazole_0.003",
10
+ "nocodazole_0.01",
11
+ "nocodazole_0.03",
12
+ "nocodazole_0.1",
13
+ "nocodazole_0.3",
14
+ "nocodazole_1.0",
15
+ "nocodazole_3.0",
16
+ )
17
+ assert dataset.dataset_params is not None
18
+ ds_params = replace(dataset.dataset_params, sorting_func=lambda subdir: CLASSES_IN_ORDER.index(subdir.name))
19
+
20
+ # Path and name
21
+ dataset = replace(
22
+ dataset,
23
+ name=dataset.name + "_nocodazole",
24
+ dataset_params=ds_params,
25
+ path="/projects/static2dynamic/datasets/BBBC021/196x196/nocodazole",
26
+ path_to_single_parquet="/projects/static2dynamic/datasets/BBBC021/196x196/BBBC021_196_nocodazole__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
27
+ )
chromalive/my_conf/dataset/BBBC048/bbbc048.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: BBBC048_fully_ordered
2
+
3
+ path: /projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed_full_circle_augmented
4
+ path_to_single_parquet: /projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/BBBC048/BBBC048__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
5
+
6
+ data_shape: [ 1, 48, 48 ]
7
+
8
+ transforms:
9
+ _target_: torchvision.transforms.v2.Compose
10
+ transforms:
11
+ - _target_: torchvision.transforms.v2.ToDtype
12
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
13
+ scale: true
14
+ - _target_: torchvision.transforms.v2.Normalize
15
+ mean: [ 0.5 ]
16
+ std: [ 0.5 ]
17
+
18
+ expected_initial_data_range: [ 0, 255 ]
19
+ expected_dtype: torch.uint8
20
+
21
+ fully_ordered: true
chromalive/my_conf/dataset/BBBC048/bbbc048_inference.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC048.bbbc048_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset, path="/projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed_full_circle_augmented"
7
+ )
chromalive/my_conf/dataset/BBBC048/bbbc048_inference_fully_ordered.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.BBBC048.bbbc048_inference_fully_ordered import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed_full_circle_augmented",
8
+ path_to_single_parquet="/projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/BBBC048/BBBC048__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
9
+ )
chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png.yaml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: chromaLive6h_3ch_png_patches_380px
2
+ path: /projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches
3
+ data_shape: [ 3, 128, 128 ]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.transforms.Resize
8
+ size: 128
9
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
10
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
11
+ - _target_: torchvision.transforms.Normalize
12
+ mean: [ 0.5, 0.5, 0.5 ] # move to [-1:1]
13
+ std: [ 0.5, 0.5, 0.5 ]
14
+ - _target_: torchvision.transforms.RandomHorizontalFlip
15
+ - _target_: torchvision.transforms.RandomVerticalFlip
16
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
17
+ expected_initial_data_range: [ 0, 255 ]
18
+ expected_dtype: torch.uint8
19
+ selected_dists:
chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png_high_doses_fully_ordered.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: chromaLive6h_3ch_png_patches_380px_doses_10_11_combined_fully_ordered
2
+
3
+ path: /projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/patches_fc_many_augs
4
+ path_to_single_parquet: /projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/heldout_test_trajs_2_doses_10_11_combined__chromaLive6h_3ch_png_patches_380px_fc_many_augs/heldout_test_trajs_2_doses_10_11_combined__chromaLive6h_3ch_png_patches_380px_fc_many_augs__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
5
+
6
+ data_shape: [ 3, 128, 128 ]
7
+
8
+ transforms:
9
+ _target_: torchvision.transforms.transforms.Compose
10
+ transforms:
11
+ - _target_: torchvision.transforms.transforms.Resize
12
+ size: 128
13
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
14
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
15
+ - _target_: torchvision.transforms.Normalize
16
+ mean: [ 0.5, 0.5, 0.5 ] # move to [-1:1]
17
+ std: [ 0.5, 0.5, 0.5 ]
18
+ - _target_: torchvision.transforms.RandomHorizontalFlip
19
+ - _target_: torchvision.transforms.RandomVerticalFlip
20
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
21
+
22
+ expected_initial_data_range: [ 0, 255 ]
23
+ expected_dtype: torch.uint8
24
+
25
+ selected_dists:
26
+
27
+ fully_ordered: true
chromalive/my_conf/dataset/ChromaLive6h/ChromaLive6h_4ch_tif.yaml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: chromaLive6h_4ch_tif_patches_380px
2
+ path: /projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches
3
+ data_shape: [ 4, 128, 128 ]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.transforms.Resize
8
+ size: 128
9
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
10
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
11
+ - _target_: torchvision.transforms.Normalize
12
+ mean: [ 0.5, 0.5, 0.5, 0.5 ] # move to [-1:1]
13
+ std: [ 0.5, 0.5, 0.5, 0.5 ]
14
+ - _target_: torchvision.transforms.RandomHorizontalFlip
15
+ - _target_: torchvision.transforms.RandomVerticalFlip
16
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
17
+ expected_initial_data_range: [ 0, 65536 ]
18
+ expected_dtype: torch.uint16
19
+ selected_dists: [ 'time_1', 'time_3', 'time_5', 'time_7', 'time_9', 'time_11', 'time_13' ]
chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fc_augs_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name="chromaLive6h_3ch_png_patches_380px_fc_augs",
8
+ path="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/patches_fc_augs",
9
+ )
chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fc_many_augs_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name="chromaLive6h_3ch_png_patches_380px_fc_many_augs",
8
+ path="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/patches_fc_many_augs",
9
+ )
chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fully_ordered_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclass import replace
2
+
3
+ from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_fully_ordered_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches",
8
+ path_to_single_parquet="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/chromaLive6h_3ch_png_patches_380px__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
9
+ )
chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_hard_aug_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ name="chromaLive6h_3ch_png_patches_380px_hard_aug",
8
+ path="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches_hard_augmented",
9
+ )
chromalive/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_inference.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches",
8
+ )
chromalive/my_conf/dataset/DeepCycle/deepcycle_brightfield_to_3D_inference.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from GaussianProxy.conf.dataset.DeepCycle.deepcycle_brightfield_to_3D_inference import dataset
2
+
3
+ dataset.path = "/projects/imagesets2/DeepCycle/cells/128x128"
chromalive/my_conf/dataset/DeepCycle/deepcycle_hoechst_brightfield_to_3D_inference.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from GaussianProxy.conf.dataset.DeepCycle.deepcycle_hoechst_brightfield_to_3D_inference import dataset
2
+
3
+ dataset.path = "/projects/imagesets2/DeepCycle/cells/128x128"
chromalive/my_conf/dataset/DeepCycle/deepcycle_inference.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from GaussianProxy.conf.dataset.DeepCycle.deepcycle_inference import dataset
2
+
3
+ dataset.path = "/projects/imagesets2/DeepCycle/cells/128x128"
chromalive/my_conf/dataset/DeepCycle/deepcycle_markers_inference.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from GaussianProxy.conf.dataset.DeepCycle.deepcycle_markers_inference import dataset
2
+
3
+ dataset.path = "/projects/imagesets2/DeepCycle/cells/128x128"
chromalive/my_conf/dataset/Jurkat/Jurkat.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Jurkat
2
+ path: /projects/static2dynamic/datasets/Jurkat/rgb_images_all_cell_cycles
3
+ data_shape: [3, 66, 66]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
8
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
9
+ - _target_: torchvision.transforms.Normalize
10
+ mean: [0.5, 0.5, 0.5]
11
+ std: [0.5, 0.5, 0.5]
12
+ - _target_: torchvision.transforms.RandomHorizontalFlip
13
+ - _target_: torchvision.transforms.RandomVerticalFlip
14
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
15
+ expected_initial_data_range: [0, 255]
16
+ expected_dtype: torch.uint8
chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_inference.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from GaussianProxy.conf.dataset.Jurkat.Jurkat_brightfield_inference import dataset
2
+
3
+ dataset.path = "/projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed"
chromalive/my_conf/dataset/Jurkat/Jurkat_fully_ordered.yaml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Jurkat_fully_ordered_dinov2_regs_giant_ds_preproc
2
+ path: /projects/static2dynamic/datasets/Jurkat/rgb_images_all_cell_cycles
3
+ path_to_single_parquet: /projects/static2dynamic/datasets/Jurkat/Jurkat__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
4
+ data_shape: [ 3, 66, 66 ]
5
+ transforms:
6
+ _target_: torchvision.transforms.transforms.Compose
7
+ transforms:
8
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
9
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
10
+ - _target_: torchvision.transforms.Normalize
11
+ mean: [ 0.5, 0.5, 0.5 ]
12
+ std: [ 0.5, 0.5, 0.5 ]
13
+ - _target_: torchvision.transforms.RandomHorizontalFlip
14
+ - _target_: torchvision.transforms.RandomVerticalFlip
15
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
16
+ expected_initial_data_range: [ 0, 255 ]
17
+ expected_dtype: torch.uint8
18
+ fully_ordered: true
chromalive/my_conf/dataset/Jurkat/Jurkat_inference.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.Jurkat.Jurkat_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/Jurkat/rgb_images_all_cell_cycles",
8
+ )
chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis.yaml ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: NASH_fibrosis
2
+ path: /projects/static2dynamic/datasets/NASH/prepared_data/fibrosis
3
+ data_shape: [ 3, 128, 128 ]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ # Convert to float32 (and normalize to [0, 1]) before resizing
8
+ - _target_: torchvision.transforms.ConvertImageDtype
9
+ dtype: ${torch_dtype:float32}
10
+ # Random crop from 299x299 to 192x192, then resize to 128x128
11
+ - _target_: torchvision.transforms.RandomCrop
12
+ size: 192
13
+ - _target_: torchvision.transforms.Resize
14
+ size: 128
15
+ # Normalize to [-1, 1]
16
+ - _target_: torchvision.transforms.Normalize
17
+ mean: [ 0.5, 0.5, 0.5 ]
18
+ std: [ 0.5, 0.5, 0.5 ]
19
+ # Random 8x square augmentations
20
+ - _target_: torchvision.transforms.RandomHorizontalFlip
21
+ - _target_: torchvision.transforms.RandomVerticalFlip
22
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
23
+ selected_dists:
24
+ expected_initial_data_range: [ 0, 255 ]
chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_fully_ordered_inference.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from GaussianProxy.conf.dataset.NASH_fibrosis.NASH_fibrosis_fully_ordered_inference import dataset
2
+
3
+ dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/fibrosis"
4
+ dataset.path_to_single_parquet = "/projects/static2dynamic/datasets/NASH/prepared_data/NASH_fibrosis__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet"
chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered.yaml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: NASH_steatosis_fully_ordered_dinov2_regs_giant_ds_preproc
2
+ path: /projects/static2dynamic/datasets/NASH/prepared_data/steatosis
3
+ path_to_single_parquet: /projects/static2dynamic/datasets/NASH/prepared_data/NASH_steatosis__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
4
+ data_shape: [ 3, 128, 128 ]
5
+ transforms:
6
+ _target_: torchvision.transforms.transforms.Compose
7
+ transforms:
8
+ # Convert to float32 (and normalize to [0, 1]) before resizing
9
+ - _target_: torchvision.transforms.ConvertImageDtype
10
+ dtype: ${torch_dtype:float32}
11
+ # Random crop from 299x299 to 192x192, then resize to 128x128
12
+ - _target_: torchvision.transforms.RandomCrop
13
+ size: 192
14
+ - _target_: torchvision.transforms.Resize
15
+ size: 128
16
+ # Normalize to [-1, 1]
17
+ - _target_: torchvision.transforms.Normalize
18
+ mean: [ 0.5, 0.5, 0.5 ]
19
+ std: [ 0.5, 0.5, 0.5 ]
20
+ # Random 8x square augmentations
21
+ - _target_: torchvision.transforms.RandomHorizontalFlip
22
+ - _target_: torchvision.transforms.RandomVerticalFlip
23
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
24
+ selected_dists:
25
+ expected_initial_data_range: [ 0, 255 ]
26
+ fully_ordered: true
chromalive/my_conf/dataset/biotine/biotine_png_128.yaml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: biotine_png
2
+ path: /projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/patches_255
3
+ data_shape: [ 3, 128, 128 ]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.transforms.Resize
8
+ size: 128
9
+ # ConvertImageDtype also scales to [0; 1] (from the *implicit* expected range that depends on the incoming dtype...)
10
+ - _target_: torchvision.transforms.ConvertImageDtype
11
+ dtype: ${torch_dtype:float32}
12
+ - _target_: torchvision.transforms.Normalize
13
+ mean: [ 0.5, 0.5, 0.5 ]
14
+ std: [ 0.5, 0.5, 0.5 ]
15
+ - _target_: torchvision.transforms.RandomHorizontalFlip
16
+ - _target_: torchvision.transforms.RandomVerticalFlip
17
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
18
+ selected_dists:
19
+ expected_initial_data_range: [ 0, 255 ]
chromalive/my_conf/dataset/biotine/biotine_png_128_fully_ordered.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: biotine_png_fully_ordered
2
+ path: /projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/patches_255
3
+ path_to_single_parquet: /projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/biotine_png__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
4
+ data_shape: [ 3, 128, 128 ]
5
+ transforms:
6
+ _target_: torchvision.transforms.transforms.Compose
7
+ transforms:
8
+ - _target_: torchvision.transforms.transforms.Resize
9
+ size: 128
10
+ # ConvertImageDtype also scales to [0; 1] (from the *implicit* expected range that depends on the incoming dtype...)
11
+ - _target_: torchvision.transforms.ConvertImageDtype
12
+ dtype: ${torch_dtype:float32}
13
+ - _target_: torchvision.transforms.Normalize
14
+ mean: [ 0.5, 0.5, 0.5 ]
15
+ std: [ 0.5, 0.5, 0.5 ]
16
+ - _target_: torchvision.transforms.RandomHorizontalFlip
17
+ - _target_: torchvision.transforms.RandomVerticalFlip
18
+ - _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
19
+ selected_dists:
20
+ expected_initial_data_range: [ 0, 255 ]
21
+ fully_ordered: true
chromalive/my_conf/dataset/biotine/biotine_png_128_fully_ordered_inference.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.biotine.biotine_png_128_inference import dataset
4
+ from GaussianProxy.utils.data import ContinuousTimeImageDataset
5
+
6
+ assert dataset.dataset_params is not None
7
+ updated_ds_params = replace(
8
+ dataset.dataset_params,
9
+ dataset_class=ContinuousTimeImageDataset,
10
+ )
11
+
12
+ dataset = replace(
13
+ dataset,
14
+ fully_ordered=True,
15
+ path="/projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/patches_255",
16
+ path_to_single_parquet="/projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/biotine_png__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
17
+ dataset_params=updated_ds_params,
18
+ )
chromalive/my_conf/dataset/biotine/biotine_png_128_hard_aug.yaml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: biotine_png_hard_aug
2
+ path: /projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/patches_255_hard_augmented
3
+ data_shape: [ 3, 128, 128 ]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.transforms.Resize
8
+ size: 128
9
+ # ConvertImageDtype also scales to [0; 1] (from the *implicit* expected range that depends on the incoming dtype...)
10
+ - _target_: torchvision.transforms.ConvertImageDtype
11
+ dtype: ${torch_dtype:float32}
12
+ - _target_: torchvision.transforms.Normalize
13
+ mean: [ 0.5, 0.5, 0.5 ]
14
+ std: [ 0.5, 0.5, 0.5 ]
15
+ selected_dists:
16
+ expected_initial_data_range: [ 0, 255 ]
chromalive/my_conf/dataset/biotine/biotine_png_128_hard_aug_inference.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.biotine.biotine_png_128_hard_aug_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/biotine/3_channels_min_99_perc_normalized_rgb_stacks_png/patches_255_hard_augmented",
8
+ )
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy.yaml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: diabetic_retinopathy
2
+ path: /projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset/train
3
+ data_shape: [3, 256, 256]
4
+ transforms:
5
+ _target_: torchvision.transforms.transforms.Compose
6
+ transforms:
7
+ - _target_: torchvision.transforms.transforms.Resize
8
+ size: 256 # single int => image resized to (size * aspect_ratio, size) or (size, size * aspect_ratio) with aspect_ratio >= 1 preserved
9
+ - _target_: torchvision.transforms.v2.CenterCrop
10
+ size: 256 # square centered crop
11
+ - _target_: torchvision.transforms.RandomHorizontalFlip
12
+ - _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
13
+ dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
14
+ - _target_: torchvision.transforms.Normalize
15
+ mean: [0.5, 0.5, 0.5]
16
+ std: [0.5, 0.5, 0.5]
17
+ expected_initial_data_range: [0, 255]
18
+ expected_dtype: torch.uint8
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_crop_fully_ordered.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: diabetic_retinopathy_2048_crop_fully_ordered
2
+
3
+ path: /projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented
4
+ path_to_single_parquet: /projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/balanced_classes__diabetic_retinopathy_2048_crop/balanced_classes__diabetic_retinopathy_2048_crop__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
5
+
6
+ data_shape: [3, 256, 256]
7
+
8
+ transforms:
9
+ _target_: torchvision.transforms.v2.Compose
10
+ transforms:
11
+ - _target_: torchvision.transforms.v2.CenterCrop
12
+ size: 2048
13
+ - _target_: torchvision.transforms.v2.Resize
14
+ size: 256
15
+ - _target_: torchvision.transforms.v2.ToDtype # this also scales to [0; 1]
16
+ dtype: ${torch_dtype:float32}
17
+ scale: true
18
+ - _target_: torchvision.transforms.v2.Normalize
19
+ mean: [0.5, 0.5, 0.5]
20
+ std: [0.5, 0.5, 0.5]
21
+
22
+ expected_initial_data_range: [0, 255]
23
+ expected_dtype: torch.uint8
24
+
25
+ fully_ordered: true
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_fully_ordered.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: diabetic_retinopathy_2048_precrop_fully_ordered
2
+
3
+ path: /projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented_2048_crop
4
+ path_to_single_parquet: /projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/diabetic_retinopathy_full_circle_augs_2048_precrop/diabetic_retinopathy_full_circle_augs_2048_precrop__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
5
+
6
+ data_shape: [ 3, 256, 256 ]
7
+
8
+ transforms:
9
+ _target_: torchvision.transforms.v2.Compose
10
+ transforms:
11
+ - _target_: torchvision.transforms.v2.ToDtype
12
+ dtype: ${torch_dtype:float32}
13
+ scale: true
14
+ - _target_: torchvision.transforms.v2.Normalize
15
+ mean: [ 0.5, 0.5, 0.5 ]
16
+ std: [ 0.5, 0.5, 0.5 ]
17
+
18
+ expected_initial_data_range: [ 0, 255 ]
19
+ expected_dtype: torch.uint8
20
+
21
+ fully_ordered: true
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_fully_ordered_inference.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_full_circle_augs_2048_precrop_inference import (
4
+ dataset,
5
+ )
6
+ from GaussianProxy.utils.data import ContinuousTimeImageDataset
7
+
8
+ assert dataset.dataset_params is not None
9
+ ds_params = replace(dataset.dataset_params, dataset_class=ContinuousTimeImageDataset)
10
+
11
+
12
+ dataset = replace(
13
+ dataset,
14
+ path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented_2048_crop",
15
+ path_to_single_parquet="/projects/static2dynamic/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/diabetic_retinopathy_full_circle_augs_2048_precrop/diabetic_retinopathy_full_circle_augs_2048_precrop__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
16
+ fully_ordered=True,
17
+ dataset_params=ds_params,
18
+ )
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_fully_ordered_inference.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_inference import dataset
4
+ from GaussianProxy.utils.data import ContinuousTimeImageDataset
5
+
6
+ assert dataset.dataset_params is not None
7
+ updated_ds_params = replace(dataset.dataset_params, dataset_class=ContinuousTimeImageDataset)
8
+
9
+ dataset = replace(
10
+ dataset,
11
+ fully_ordered=True,
12
+ path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset/train",
13
+ path_to_single_parquet="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset/diabetic_retinopathy__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
14
+ dataset_params=updated_ds_params,
15
+ )
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_inference.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_inference import dataset
4
+
5
+ dataset = replace(dataset, path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset/train")
chromalive/my_conf/dataset/ependymal_context/ependymal_context_inference.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from torch import float32
2
+ from torchvision.transforms import Compose, ConvertImageDtype, Normalize
3
+
4
+ from GaussianProxy.conf.training_conf import DataSet, DatasetParams
5
+ from GaussianProxy.utils.data import ImageDataset
6
+
7
+ DEFINITION = 256
8
+ NUMBER_OF_CHANNELS = 3
9
+
10
+ transforms = Compose(
11
+ transforms=[
12
+ ConvertImageDtype(float32),
13
+ Normalize(mean=[0.5] * NUMBER_OF_CHANNELS, std=[0.5] * NUMBER_OF_CHANNELS),
14
+ ]
15
+ )
16
+
17
+ ds_params = DatasetParams(
18
+ file_extension="png",
19
+ key_transform=str,
20
+ sorting_func=lambda subdir: int(subdir.name),
21
+ dataset_class=ImageDataset,
22
+ )
23
+
24
+ dataset = DataSet(
25
+ name="ependymal_context",
26
+ data_shape=(NUMBER_OF_CHANNELS, DEFINITION, DEFINITION),
27
+ transforms=transforms,
28
+ expected_initial_data_range=(0, 255),
29
+ dataset_params=ds_params,
30
+ path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_context",
31
+ selected_dists=["0", "3", "5", "7", "9", "16", "30"], # ignore .REMOVED_IMAGES/16 (imaging artifacts)
32
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_fc_augs_sep_gt_inference.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+ from pathlib import Path
3
+
4
+ from GaussianProxy.conf.dataset.ependymal_cutout.ependymal_cutout_inference import dataset
5
+
6
+ # note the data organization is special with separate ground truth folder
7
+ assert dataset.dataset_params is not None
8
+ dataset_params = replace(
9
+ dataset.dataset_params,
10
+ sorting_func=lambda subdir: str(subdir.name) if isinstance(subdir, Path) else str(subdir),
11
+ ) # subdirs are "ground_truth" and "all_imgs" now...
12
+
13
+ dataset = replace(
14
+ dataset,
15
+ name="ependymal_cutout_01_noised_full_circle_augs",
16
+ path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.1_crop_full_circle_augmented",
17
+ separate_gt_starting_class_path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.1_crop_full_circle_augmented/ground_truths/1",
18
+ dataset_params=dataset_params,
19
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_separate_gt_fully_ordered_inference.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.utils.data import ContinuousTimeImageDataset
4
+ from my_conf.dataset.ependymal_cutout.ependymal_cutout_01_noised_separate_gt_inference import dataset
5
+
6
+ assert dataset.dataset_params is not None
7
+ dataset_params = replace(
8
+ dataset.dataset_params,
9
+ dataset_class=ContinuousTimeImageDataset,
10
+ )
11
+
12
+ dataset = replace(
13
+ dataset,
14
+ fully_ordered=True,
15
+ path_to_single_parquet="/projects/static2dynamic/datasets/ependymal/ependymal_cutout_01_noised__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
16
+ dataset_params=dataset_params,
17
+ selected_dists=["all_imgs"],
18
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_03_noised_separate_gt_inference.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ependymal_cutout.ependymal_cutout_inference import dataset
4
+
5
+ # note the data organization is special with separate ground truth folder
6
+ assert dataset.dataset_params is not None
7
+ dataset_params = replace(
8
+ dataset.dataset_params, sorting_func=lambda subdir: str(subdir.name)
9
+ ) # subdirs are "ground_truth" and "all_imgs" now...
10
+
11
+ dataset = replace(
12
+ dataset,
13
+ name="ependymal_cutout_03_noised",
14
+ path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.3_crop/",
15
+ dataset_params=dataset_params,
16
+ separate_gt_starting_class_path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.3_crop/ground_truths/1",
17
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_fully_ordered_inference.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ependymal_cutout.ependymal_cutout_fully_ordered_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_crop",
8
+ path_to_single_parquet="/projects/static2dynamic/datasets/ependymal/ependymal_cutout__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
9
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_inference.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.ependymal_cutout.ependymal_cutout_inference import dataset
4
+
5
+ dataset = replace(
6
+ dataset,
7
+ path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_crop",
8
+ )
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_white_bg_separate_gt_fully_ordered_inference.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.utils.data import ContinuousTimeImageDataset
4
+ from my_conf.dataset.ependymal_cutout.ependymal_cutout_white_bg_separate_gt_inference import dataset
5
+
6
+ assert dataset.dataset_params is not None
7
+ dataset_params = replace(
8
+ dataset.dataset_params,
9
+ dataset_class=ContinuousTimeImageDataset,
10
+ )
11
+
12
+ dataset = replace(
13
+ dataset,
14
+ fully_ordered=True,
15
+ path_to_single_parquet="/projects/static2dynamic/datasets/ependymal/ependymal_cutout_white_bg__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
16
+ dataset_params=dataset_params,
17
+ selected_dists=["all_imgs"],
18
+ separate_gt_starting_class_path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_white_bg_crop/ground_truths/1",
19
+ )
chromalive/my_conf/dataset/human_embryo/human_embryo_inference.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from dataclasses import replace
2
+
3
+ from GaussianProxy.conf.dataset.human_embryo.human_embryo_inference import dataset
4
+
5
+ dataset = replace(dataset, path="/projects/imagesets3/2022_Gomez/reformated_phases/phases")
chromalive/my_conf/dataset/imagenet_n01917289_hard_aug_inference.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from torch import float32
2
+ from torchvision.transforms import Compose, ConvertImageDtype, Normalize, Resize
3
+ from torchvision.transforms.v2 import CenterCrop
4
+
5
+ from GaussianProxy.conf.training_conf import DataSet, DatasetParams
6
+ from GaussianProxy.utils.data import ImageDataset
7
+
8
+ DEFINITION = 128
9
+ NUMBER_OF_CHANNELS = 3
10
+
11
+ transforms = Compose(
12
+ transforms=[
13
+ # single int => image resized to (size * aspect_ratio, size) or (size, size * aspect_ratio) with aspect_ratio >= 1 preserved
14
+ Resize(DEFINITION),
15
+ CenterCrop(DEFINITION), # pyright: ignore[reportAttributeAccessIssue]
16
+ ConvertImageDtype(float32),
17
+ Normalize(mean=[0.5] * NUMBER_OF_CHANNELS, std=[0.5] * NUMBER_OF_CHANNELS),
18
+ ]
19
+ )
20
+
21
+ ds_params = DatasetParams(
22
+ file_extension="JPEG",
23
+ key_transform=int,
24
+ sorting_func=lambda subdir: int(subdir.name),
25
+ dataset_class=ImageDataset,
26
+ )
27
+
28
+ dataset = DataSet(
29
+ path="/localtmp/tboyer/augmented_imagenet_n01917289",
30
+ name="imagenet_n01917289_hard_aug_inference",
31
+ data_shape=(NUMBER_OF_CHANNELS, DEFINITION, DEFINITION),
32
+ transforms=transforms,
33
+ selected_dists=None, # not used
34
+ expected_initial_data_range=(0, 255),
35
+ dataset_params=ds_params,
36
+ )
chromalive/my_conf/hydra/job_logging/custom.yaml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: 1
2
+ formatters:
3
+ simple:
4
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
5
+ colorlog:
6
+ (): colorlog.ColoredFormatter
7
+ format: '[%(cyan)s%(asctime)s%(reset)s][%(blue)s%(name)s%(reset)s][%(log_color)s%(levelname)s%(reset)s] - %(message)s'
8
+ log_colors:
9
+ DEBUG: purple
10
+ INFO: green
11
+ WARNING: yellow
12
+ ERROR: red
13
+ CRITICAL: red
14
+ handlers:
15
+ console:
16
+ class: logging.StreamHandler
17
+ formatter: colorlog
18
+ stream: ext://sys.stdout
19
+ level: INFO
20
+ file:
21
+ class: logging.FileHandler
22
+ formatter: simple
23
+ filename: ${hydra:run.dir}/logs.log # unify logs from launcher and script
24
+ level: DEBUG
25
+ root:
26
+ level: DEBUG
27
+ handlers:
28
+ - console
29
+ - file
30
+ logger:
31
+ matplotlib:
32
+ level: INFO
33
+ PIL:
34
+ level: INFO
35
+ disable_existing_loggers: true