mosaicml / composer

Supercharge Your Model Training
http://docs.mosaicml.com
Apache License 2.0
5.14k stars 416 forks source link

Synthetic Data Generation for Brats Dataset #118

Closed ravi-mosaicml closed 1 year ago

ravi-mosaicml commented 2 years ago

Brats does not support synthetic data. It would be great to add support for it.

ajaysaini725 commented 2 years ago

@ravi-mosaicml can you include more details on exactly what this entails? Right now, the SyntheticDataset class takes both a data_shape and a label_shape which can be used to generate synthetic data for BRATS.

ravi-mosaicml commented 2 years ago

To implement this:

  1. Have brats inherit the SyntheticHparamsMixin class
  2. If the use_synthetic flag is True, then the initialize_object() function should return a dataloader over synthetic data that can train. Here, you'll want to specify the data_shape and label_shape for the SyntheticBatchPairDataset . I am not sure what these parameters should be.
mvpatel2000 commented 1 year ago

Closing as we don't plan on doing this anymore