greenelab / shared-latent-space

Shared Latent Space VAE's
23 stars 5 forks source link

ICVL #15

Closed chrsunwil closed 6 years ago

chrsunwil commented 6 years ago

Made the code much more general. Now uses the main_file.py to call functions from other files. Each dataset gets it's own file which implements the abstract class form DataSetInfoAbstractClass. This will ensure that each data set has a method for loading and visualizing. These get called in both the main_file.py and the shared_vae_class.py. The model is now also representing in a .png file saved into an output folder. The visualizations are also saved into this folder. I also made the ICVL and MNIST data into pickle files to speed up the process of loading in the data.

Adding new datasets should be a much easier process now as it will mainly involved adding a new file which maintains the invariants of the abstract class.

chrsunwil commented 6 years ago

@gwaygenomics

I wrote some comments in response throughout your review.

chrsunwil commented 6 years ago

@gwaygenomics I have addressed your comments. My repo didn't have any .pyc files in it, so let me know if shared_vae_class.pyc is still there.