Skip to content
 
 

Repository files navigation

MorphVAE: Generating Neural Morphologies from 3D-Walks using Variational Autoencoder with Spherical Latent Space

This repository stores the code related to the ICML2021 paper.

Running the notebooks

Overview of the notebooks

Data processing

  • Download data: Prior to running the notebooks you will need to download the associated morphologies as well as processed data. You can find the data here. Please download and unpack into the same repository.
  • Create Toy data: Generates toy data and their random walk representation.
  • Create data iterators: Creates the data iterators for model fitting. Note, the random walk representation has been pre-generated and uploaded in the data repository. If you want to generate them yourself, you can find the code in the ./utils/rw_utils.py
  • Create image stacks: Creates an image stack for each neuron to be fed into the TREES Toolbox
  • Density maps on toy data and real data: Analysis pipeline of density map projections for each data set. Creation (1D, 2D and 3D projections), 2D t-SNE visualisation and 5-NN classification.

Model fitting

Training:

Finetune pre-tained models (on toy data) on real data:

Analysis

Classification:

Sample new neurons:

Plotting

Misc

Citing our work

If you use or refer to this work please use the following citation:


@InProceedings{pmlr-v139-laturnus21a,
  title = 	 {MorphVAE: Generating Neural Morphologies from 3D-Walks using a Variational Autoencoder with Spherical Latent Space},
  author =       {Laturnus, Sophie C. and Berens, Philipp},
  booktitle = 	 {Proceedings of the 38th International Conference on Machine Learning},
  pages = 	 {6021--6031},
  year = 	 {2021},
  editor = 	 {Meila, Marina and Zhang, Tong},
  volume = 	 {139},
  series = 	 {Proceedings of Machine Learning Research},
  month = 	 {18--24 Jul},
  publisher =    {PMLR},
  pdf = 	 {http://proceedings.mlr.press/v139/laturnus21a/laturnus21a.pdf},
  url = 	 {https://proceedings.mlr.press/v139/laturnus21a.html},
}

About

MorphVAE: Generating Neural Morphologies from 3D-Walks; an attempt to update it using contrastive SSL

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages