Currently, we can only specify a single crop size with which to make bounding boxes around the instance. However, for mixed dataset training, each dataset can have a different optimal crop size depending on imaging resolution. Proposing changes to allow a different crop size for each dataset specified in the train_dir argument in configs.
Currently, we can only specify a single crop size with which to make bounding boxes around the instance. However, for mixed dataset training, each dataset can have a different optimal crop size depending on imaging resolution. Proposing changes to allow a different crop size for each dataset specified in the train_dir argument in configs.
Current (params.yaml):
dataset: train_dataset: dir: path: [ "/mustafa/microscopy-data/source-1/train", "/mustafa/microscopy-data/source-2/train", "/mustafa/microscopy-data/source-3/train" ] labels_suffix: ".slp" vid_suffix: ".mp4" clip_length: 32 crop_size: 32
Proposed (params.yaml):
dataset: train_dataset: dir: path: [ "/mustafa/microscopy-data/source-1/train", "/mustafa/microscopy-data/source-2/train", "/mustafa/microscopy-data/source-3/train" ] labels_suffix: ".slp" vid_suffix: ".mp4" clip_length: 32 crop_size: [32, 16, 100]
Requires changes to: