Synthetic data in monai based on a monai.apps.SyntheticDataset class #6113
Replies: 3 comments 1 reply
-
In the case of a potential medigan integration, the existing code of medigan can be adjusted to fit, for example, any of these two scenarios:
|
Beta Was this translation helpful? Give feedback.
-
I think option 1 a MediganDataset wrapping the ModelExecutor.generator makes sense, https://github.com/RichardObi/medigan/blob/main/src/medigan/execute_model/model_executor.py#L283 perhaps as a first step you could create a jupyter notebook with the dataset class and a simple end-to-end monai+medigan model training demo in https://github.com/Project-MONAI/tutorials? hopefully it'll increase the visibility of your work for the monai users and we can do further integrations according to the users feedback. |
Beta Was this translation helpful? Give feedback.
-
Sounds good. What about @RichardObi's initial idea to have a parent class |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
The following proposal is based on several discussions initiated by @nvahmadi about a potential integration of the medigan library into MONAI. In medigan, users can generate their own synthetic datasets based on pretrained generative models. We think this could be a useful concept to bring to MONAI. In particular, MONAI could have a synthetic dataset class that allows users to generate, load, and interact with synthetic datasets. Apart from synthetic data generation, another potential use-case of this class is the translation of user data from one domain to another using pretrained generative models (e.g., cycleGAN).
For this purpose, we thought that a potential extension of monai.apps could be interesting, as this module already contains classes that implement specific datasets such as the monai.apps.DecathlonDataset and the monai.apps.TciaDataset. We suggest to define a general monai.apps.SyntheticDataset class as a central point for handling synthetic datasets in MONAI. Any specific synthetic datasets such as, for example, a monai.apps.MediganDataset or a BrainLDMDataset (e.g. a dataset generated by running a generative model from the model zoo) could inherit from this base SyntheticDataset class.
This suggestion was previously discussed with @wyli @pdogra89 @daguangxu @nvahmadi (29.11.2022) and with the Project-MONAI/GenerativeModels team (28.02.2023) @Warvito @ericspod.
Beta Was this translation helpful? Give feedback.
All reactions