Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

BrainSim Decoder

An interactive Colab tool for fMRI-to-image decoding using real 7T neuroimaging data.

What it does

Given an input image, the pipeline:

  1. Encodes it into a CLIP ViT-L/14 embedding.
  2. Predicts the whole-cortex fMRI response (~39k vertices, both hemispheres) via ridge regression trained on real trials.
  3. Decodes the predicted fMRI back into CLIP space.
  4. Renders an approximate retinotopic visual-field map of predicted activation.
  5. Retrieves the top-5 most similar training images by decoded CLIP similarity.
  6. Generates a caption from the decoded representation (BLIP).
  7. Synthesizes an audio chord from the decoded embedding.

Optionally, GPU image reconstruction via Kandinsky 2.2 unCLIP (needs an A100/T4).

Data & grounding

License

MIT — see LICENSE.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors