🧶 Modular VAE disentanglement framework for python built with PyTorch Lightning ▸ Including metrics and datasets ▸ With strongly supervised, weakly supervised and unsupervised methods ▸ Easily configured and run with Hydra config ▸ Inspired by disentanglement_lib
Data:Data could be replaced with dependency injection of the StateSpace into the data classes. Data is then a ground-truth data if it provides the property states (or maybe factors).
Datasets:DisentDataset could be converted to a general class that inherits from torchDataset, and accepts two initialising arguments: data and sampler. The various existing DisentDataset subclasses should be converted to Sampler classes that return a list of indices for each input index.
Data and Datasets currently have multiple levels of inheritance
Data:
Data
could be replaced with dependency injection of the StateSpace into the data classes. Data is then a ground-truth data if it provides the propertystates
(or maybefactors
).Datasets:
DisentDataset
could be converted to a general class that inherits fromtorch
Dataset
, and accepts two initialising arguments:data
andsampler
. The various existing DisentDataset subclasses should be converted toSampler
classes that return a list of indices for each input index.