Giter Site home page Giter Site logo

csinva / mouse-brain-decoding Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 1.0 978 KB

Decoding images from calcium recordings using data from stringer et al. 2018.

Python 4.84% Jupyter Notebook 95.15% Shell 0.01%
pytorch decoding gan calcium-imaging neural-network ml ai neuroscience vision computer-vision

mouse-brain-decoding's Introduction

decoding natural images

This project is trying to decode grayscale naturalistic images from calcium imaging recordings in mouse cortex. The data is from stringer et al 2018 and includes simultaneous recordings from 10,000 neurons.

The idea is to use a pre-trained gan from this repo based on the dcgan and learn a linear mapping from the neurons to the latent space of the GAN generator.

So far the results are not very good. Some samples are shown below. Starting from the left, every two columns show the real data samples and the generated data samples:

training validation
train val

code

  • the train.py file contains the bulk of the code for training
  • the scripts folder contains files for sweeping over parameters
  • many things left to do
    • try different loss functions for generating images that are more perceptially similar (e.g. vgg perceptual loss)
    • different types of normalization
    • augment data (add rotates, etc.)
    • try learning w/ poisson distr.

mouse-brain-decoding's People

Contributors

csinva avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

wisamreid

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.