Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- chromalive/my_conf/dataset/BBBC021/BBBC021_196_nocodazole_inference.py +26 -0
- chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered.yaml +23 -0
- chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered_inference.py +4 -0
- chromalive/my_conf/dataset/Jurkat/Jurkat_inference_hard_aug.py +8 -0
- chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_inference.py +3 -0
- chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis.yaml +24 -0
- chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered_inference.py +4 -0
- chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis_inference.py +3 -0
- chromalive/my_conf/dataset/biotine/biotine_png_128_inference.py +8 -0
- chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_crop_inference.py +9 -0
- chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_inference.py +10 -0
- chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2560_crop_inference.py +9 -0
- chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_hard_aug_inference.py +9 -0
- chromalive/my_conf/dataset/ependymal_context/ependymal_context.yaml +16 -0
- chromalive/my_conf/dataset/ependymal_context/ependymal_context_avg_t_fully_ordered_inference.py +31 -0
- chromalive/my_conf/dataset/ependymal_context/ependymal_context_fully_ordered_inference.py +9 -0
- chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout.yaml +17 -0
- chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_fc_augs_sep_gt_fully_ordered_inference.py +18 -0
- chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_separate_gt_inference.py +19 -0
- chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_03_noised_separate_gt_fully_ordered_inference.py +18 -0
- chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_white_bg_separate_gt_inference.py +16 -0
- chromalive/my_conf/dataset/human_embryo/human_embryo_fully_ordered_inference.py +15 -0
- diabetic_retinopathy/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_fully_ordered_inference.py +10 -0
- diabetic_retinopathy/my_conf/dataset/BBBC021/BBBC021_196_docetaxel_hard_aug_inference.py +9 -0
- diabetic_retinopathy/my_conf/dataset/BBBC048/bbbc048.yaml +21 -0
- diabetic_retinopathy/my_conf/dataset/BBBC048/bbbc048_inference.py +7 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png_hard_aug.yaml +16 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLive6h/ChromaLive6h_4ch_tif.yaml +19 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fully_ordered_inference.py +4 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_hard_aug_inference.py +6 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/ChromaLiveTL24h/ChromaLiveTL24h.yaml +19 -0
- diabetic_retinopathy/my_conf/dataset/DeepCycle/deepcycle_brightfield_to_3D_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/DeepCycle/deepcycle_hoechst_brightfield_to_3D_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/DeepCycle/deepcycle_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/DeepCycle/deepcycle_markers_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat.yaml +16 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered.yaml +23 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered_inference.py +4 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_brightfield_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_fully_ordered.yaml +18 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_inference.py +8 -0
- diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_inference_hard_aug.py +8 -0
- diabetic_retinopathy/my_conf/dataset/NASH_fibrosis/NASH_fibrosis.yaml +24 -0
- diabetic_retinopathy/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_fully_ordered_inference.py +4 -0
- diabetic_retinopathy/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered.yaml +26 -0
- diabetic_retinopathy/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered_inference.py +4 -0
- diabetic_retinopathy/my_conf/dataset/NASH_steatosis/NASH_steatosis_inference.py +3 -0
- diabetic_retinopathy/my_conf/dataset/biotine/biotine_png_128.yaml +19 -0
chromalive/my_conf/dataset/BBBC021/BBBC021_196_nocodazole_inference.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.BBBC021.BBBC021_196_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 |
+
)
|
chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Jurkat_brightfield_fully_ordered
|
| 2 |
+
|
| 3 |
+
path: /projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed
|
| 4 |
+
path_to_single_parquet: /projects/static2dynamic/datasets/Jurkat/Jurkat_brightfield__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
|
| 5 |
+
|
| 6 |
+
data_shape: [ 1, 66, 66 ]
|
| 7 |
+
|
| 8 |
+
transforms:
|
| 9 |
+
_target_: torchvision.transforms.transforms.Compose
|
| 10 |
+
transforms:
|
| 11 |
+
- _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
|
| 12 |
+
dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
|
| 13 |
+
- _target_: torchvision.transforms.Normalize
|
| 14 |
+
mean: [ 0.5 ]
|
| 15 |
+
std: [ 0.5 ]
|
| 16 |
+
- _target_: torchvision.transforms.RandomHorizontalFlip
|
| 17 |
+
- _target_: torchvision.transforms.RandomVerticalFlip
|
| 18 |
+
- _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
|
| 19 |
+
|
| 20 |
+
expected_initial_data_range: [ 0, 255 ]
|
| 21 |
+
expected_dtype: torch.uint8
|
| 22 |
+
|
| 23 |
+
fully_ordered: true
|
chromalive/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.Jurkat.Jurkat_brightfield_fully_ordered_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed"
|
| 4 |
+
dataset.path_to_single_parquet = "/projects/static2dynamic/datasets/Jurkat/Jurkat_brightfield__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet"
|
chromalive/my_conf/dataset/Jurkat/Jurkat_inference_hard_aug.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_hard_augmented",
|
| 8 |
+
)
|
chromalive/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_inference.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_fibrosis.NASH_fibrosis_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/fibrosis"
|
chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis.yaml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: NASH_steatosis
|
| 2 |
+
path: /projects/static2dynamic/datasets/NASH/prepared_data/steatosis
|
| 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_steatosis/NASH_steatosis_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_steatosis.NASH_steatosis_fully_ordered_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/steatosis"
|
| 4 |
+
dataset.path_to_single_parquet = "/projects/static2dynamic/datasets/NASH/prepared_data/NASH_steatosis__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet"
|
chromalive/my_conf/dataset/NASH_steatosis/NASH_steatosis_inference.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_steatosis.NASH_steatosis_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/steatosis"
|
chromalive/my_conf/dataset/biotine/biotine_png_128_inference.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.biotine.biotine_png_128_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",
|
| 8 |
+
)
|
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_crop_inference.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_full_circle_augs_2048_crop_inference import (
|
| 4 |
+
dataset,
|
| 5 |
+
)
|
| 6 |
+
|
| 7 |
+
dataset = replace(
|
| 8 |
+
dataset, path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented"
|
| 9 |
+
)
|
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2048_precrop_inference.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
|
| 7 |
+
dataset = replace(
|
| 8 |
+
dataset,
|
| 9 |
+
path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented_2048_crop",
|
| 10 |
+
)
|
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_full_circle_augs_2560_crop_inference.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_full_circle_augs_2560_crop_inference import (
|
| 4 |
+
dataset,
|
| 5 |
+
)
|
| 6 |
+
|
| 7 |
+
dataset = replace(
|
| 8 |
+
dataset, path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset_full_circle_augmented"
|
| 9 |
+
)
|
chromalive/my_conf/dataset/diabetic_retinopathy/diabetic_retinopathy_hard_aug_inference.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.diabetic_retinopathy.diabetic_retinopathy_inference import dataset
|
| 4 |
+
|
| 5 |
+
dataset = replace(
|
| 6 |
+
dataset,
|
| 7 |
+
name="diabetic_retinopathy_inference_hard_augmented",
|
| 8 |
+
path="/projects/static2dynamic/datasets/DiabeticRetinopathy/prepared_dataset/train_hard_augmented",
|
| 9 |
+
)
|
chromalive/my_conf/dataset/ependymal_context/ependymal_context.yaml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: ependymal_context
|
| 2 |
+
path: /projects/static2dynamic/datasets/ependymal/prepared_dataset_context
|
| 3 |
+
data_shape: [3, 256, 256]
|
| 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/ependymal_context/ependymal_context_avg_t_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
|
| 4 |
+
from GaussianProxy.conf.dataset.ependymal_context.ependymal_context_fully_ordered_inference import dataset
|
| 5 |
+
from GaussianProxy.conf.training_conf import DatasetParams
|
| 6 |
+
from GaussianProxy.utils.data import ContinuousTimeImageDataset
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
# separate gt needs a workaround for sorting_func
|
| 10 |
+
def sorting_func(subdir: Path):
|
| 11 |
+
if subdir.name == "all_imgs":
|
| 12 |
+
return 0
|
| 13 |
+
else:
|
| 14 |
+
raise ValueError(f"unexpected subdir: {subdir}")
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
ds_params = DatasetParams(
|
| 18 |
+
file_extension="png",
|
| 19 |
+
key_transform=str,
|
| 20 |
+
sorting_func=sorting_func,
|
| 21 |
+
dataset_class=ContinuousTimeImageDataset,
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
dataset = replace(
|
| 25 |
+
dataset,
|
| 26 |
+
name="ependymal_context_avg_t_separate_gt_fully_ordered",
|
| 27 |
+
path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_context_avg_pt_from_01_noised_facebook_dinov2-with-registers-giant/all_imgs",
|
| 28 |
+
path_to_single_parquet="/projects/static2dynamic/datasets/ependymal/prepared_dataset_context_avg_pt_from_01_noised_facebook_dinov2-with-registers-giant/ependymal_context__continuous_time_predictions__avg_t_preds.parquet",
|
| 29 |
+
dataset_params=ds_params,
|
| 30 |
+
separate_gt_starting_class_path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_context/0"
|
| 31 |
+
)
|
chromalive/my_conf/dataset/ependymal_context/ependymal_context_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.ependymal_context.ependymal_context_fully_ordered_inference import dataset
|
| 4 |
+
|
| 5 |
+
dataset = replace(
|
| 6 |
+
dataset,
|
| 7 |
+
path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_context",
|
| 8 |
+
path_to_single_parquet="/projects/static2dynamic/datasets/ependymal/ependymal_context__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
|
| 9 |
+
)
|
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout.yaml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: ependymal_cutout
|
| 2 |
+
path: /projects/static2dynamic/datasets/ependymal/prepared_dataset_crop
|
| 3 |
+
data_shape: [ 3, 256, 256 ]
|
| 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
|
| 17 |
+
selected_dists: [ 1, 2, 3, 4, 5, 6 ] # 0 is the trash class!
|
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_fc_augs_sep_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_fc_augs_sep_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/Thomas/ordering_datasets/facebook_dinov2-with-registers-giant_dataset_preproc/ependymal_cutout_01_noised_full_circle_augs/ependymal_cutout_01_noised_full_circle_augs__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
|
| 16 |
+
selected_dists=["all_imgs"],
|
| 17 |
+
dataset_params=dataset_params,
|
| 18 |
+
)
|
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_01_noised_separate_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",
|
| 16 |
+
path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.1_crop/",
|
| 17 |
+
dataset_params=dataset_params,
|
| 18 |
+
separate_gt_starting_class_path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_noised_0.1_crop/ground_truths/1",
|
| 19 |
+
)
|
chromalive/my_conf/dataset/ependymal_cutout/ependymal_cutout_03_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_03_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_03_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_white_bg_separate_gt_inference.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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_white_bg",
|
| 14 |
+
path="/projects/static2dynamic/datasets/ependymal/prepared_dataset_white_bg_crop/",
|
| 15 |
+
dataset_params=dataset_params,
|
| 16 |
+
)
|
chromalive/my_conf/dataset/human_embryo/human_embryo_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from dataclasses import replace
|
| 2 |
+
|
| 3 |
+
from GaussianProxy.conf.dataset.human_embryo.human_embryo_inference import dataset
|
| 4 |
+
from GaussianProxy.utils.data import ContinuousTimeImageDataset1D
|
| 5 |
+
|
| 6 |
+
assert dataset.dataset_params is not None
|
| 7 |
+
ds_params = replace(dataset.dataset_params, dataset_class=ContinuousTimeImageDataset1D)
|
| 8 |
+
|
| 9 |
+
dataset = replace(
|
| 10 |
+
dataset,
|
| 11 |
+
path="/projects/imagesets3/2022_Gomez/reformated_phases/phases",
|
| 12 |
+
fully_ordered=True,
|
| 13 |
+
path_to_single_parquet="/projects/imagesets3/2022_Gomez/reformated_phases/human_embryo__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet",
|
| 14 |
+
dataset_params=ds_params,
|
| 15 |
+
)
|
diabetic_retinopathy/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 |
+
)
|
diabetic_retinopathy/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 |
+
)
|
diabetic_retinopathy/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
|
diabetic_retinopathy/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 |
+
)
|
diabetic_retinopathy/my_conf/dataset/ChromaLive6h/ChromaLive6h_3ch_png_hard_aug.yaml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: chromaLive6h_3ch_png_patches_380px_hard_aug
|
| 2 |
+
path: /projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches_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 |
+
- _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 |
+
expected_initial_data_range: [ 0, 255 ]
|
| 15 |
+
expected_dtype: torch.uint8
|
| 16 |
+
selected_dists:
|
diabetic_retinopathy/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' ]
|
diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_fully_ordered_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches"
|
| 4 |
+
dataset.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"
|
diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_hard_aug_inference.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.name = "chromaLive6h_3ch_png_patches_380px_hard_aug"
|
| 4 |
+
dataset.path = (
|
| 5 |
+
"/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches_hard_augmented"
|
| 6 |
+
)
|
diabetic_retinopathy/my_conf/dataset/ChromaLive6h/chromalive6h_3ch_png_inference.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.ChromaLive6h.chromalive6h_3ch_png_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/20231017ChromaLive_6hr_4ch/MIP_normalized/paired_dataset/patches"
|
diabetic_retinopathy/my_conf/dataset/ChromaLiveTL24h/ChromaLiveTL24h.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: chromalive_tl_24h_380px
|
| 2 |
+
path: /projects/static2dynamic/datasets/20230920ChromaLiveTL_24hr4ch/ch_4_3_1___norm_whole_ds_per_channel_per_zslice_0_99perc___patches_380
|
| 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
|
| 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: ['time_1', 'time_7', 'time_13', 'time_19', 'time_25', 'time_31', 'time_37', 'time_43', 'time_49', 'time_55', 'time_61', 'time_67', 'time_73', 'time_79', 'time_85', 'time_91', 'time_97', 'time_103', 'time_109', 'time_115', 'time_121', 'time_127', 'time_133', 'time_139', 'time_145']
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/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
|
diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Jurkat_brightfield_fully_ordered
|
| 2 |
+
|
| 3 |
+
path: /projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed
|
| 4 |
+
path_to_single_parquet: /projects/static2dynamic/datasets/Jurkat/Jurkat_brightfield__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet
|
| 5 |
+
|
| 6 |
+
data_shape: [ 1, 66, 66 ]
|
| 7 |
+
|
| 8 |
+
transforms:
|
| 9 |
+
_target_: torchvision.transforms.transforms.Compose
|
| 10 |
+
transforms:
|
| 11 |
+
- _target_: torchvision.transforms.ConvertImageDtype # this also scales to [0; 1]
|
| 12 |
+
dtype: ${torch_dtype:float32} # passed dtype must be accessible as a "torch" attribute
|
| 13 |
+
- _target_: torchvision.transforms.Normalize
|
| 14 |
+
mean: [ 0.5 ]
|
| 15 |
+
std: [ 0.5 ]
|
| 16 |
+
- _target_: torchvision.transforms.RandomHorizontalFlip
|
| 17 |
+
- _target_: torchvision.transforms.RandomVerticalFlip
|
| 18 |
+
- _target_: GaussianProxy.utils.data.RandomRotationSquareSymmetry
|
| 19 |
+
|
| 20 |
+
expected_initial_data_range: [ 0, 255 ]
|
| 21 |
+
expected_dtype: torch.uint8
|
| 22 |
+
|
| 23 |
+
fully_ordered: true
|
diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_brightfield_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.Jurkat.Jurkat_brightfield_fully_ordered_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/Jurkat/brightfield_reprocessed"
|
| 4 |
+
dataset.path_to_single_parquet = "/projects/static2dynamic/datasets/Jurkat/Jurkat_brightfield__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet"
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/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
|
diabetic_retinopathy/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 |
+
)
|
diabetic_retinopathy/my_conf/dataset/Jurkat/Jurkat_inference_hard_aug.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_hard_augmented",
|
| 8 |
+
)
|
diabetic_retinopathy/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 ]
|
diabetic_retinopathy/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"
|
diabetic_retinopathy/my_conf/dataset/NASH_fibrosis/NASH_fibrosis_inference.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_fibrosis.NASH_fibrosis_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/fibrosis"
|
diabetic_retinopathy/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
|
diabetic_retinopathy/my_conf/dataset/NASH_steatosis/NASH_steatosis_fully_ordered_inference.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_steatosis.NASH_steatosis_fully_ordered_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/steatosis"
|
| 4 |
+
dataset.path_to_single_parquet = "/projects/static2dynamic/datasets/NASH/prepared_data/NASH_steatosis__continuous_time_predictions__facebook_dinov2-with-registers-giant_dataset_preproc.parquet"
|
diabetic_retinopathy/my_conf/dataset/NASH_steatosis/NASH_steatosis_inference.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from GaussianProxy.conf.dataset.NASH_steatosis.NASH_steatosis_inference import dataset
|
| 2 |
+
|
| 3 |
+
dataset.path = "/projects/static2dynamic/datasets/NASH/prepared_data/steatosis"
|
diabetic_retinopathy/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 ]
|