Coder Social home page Coder Social logo

interindividualdeepimagereconstruction's Introduction

Inter-individual deep image reconstruction

Demo code for Ho, Horikawa, Majima, and Kamitani (2022), Inter-individual deep image reconstruction.

Requirements

Usage

Training for neural code converter

Run the ncc_training.py to train the neural code converters for a pair of source and target subjects.

DNN feature decoding from converted brain activities

Run the ncc_predict_feat.py to predict the DNN features from the converted brain activities with the trained neural code converters. Pre-trained DNN feature decoders of the target subjects are necessary to run this script. We used the same methodology in the previous study for DNN feature decoding (Horikawa & Kamitani, 2017, Generic decoding of seen and imagined objects using hierarchical visual features, Nat Commun.). Python code for the DNN feature decoding is available at https://github.com/KamitaniLab/dnn-feature-decoding.

Image reconstruction from decoded CNN features

We used the same methodology in the previous study for image reconstruction (Deep image reconstruction from human brain activity). Please follow its instruction to setup the environment.

Run the image_reconstruction/recon_image_naturalImage_VGG19_DGN_GD.py to reconstruct the natural images shown in the original paper.
Run the image_reconstruction/recon_image_artificialImage_VGG19_NoDGN_LBFGS.py to reconstruct the artificial images shown in the original paper.

Data

Raw fMRI data:

https://openneuro.org/datasets/ds001506/versions/1.3.1
https://openneuro.org/datasets/ds003430/versions/1.1.1
https://openneuro.org/datasets/ds003993

References

interindividualdeepimagereconstruction's People

Contributors

junkai90 avatar

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.