Code used in the paper "Enhancing functional magnetic resonance imaging visual decoding using feedforward and convolutional neural networks" The h5 files of each subject need to be downloaded from https://figshare.com/articles/dataset/Generic_Object_Decoding/7387130/5 and put in data/ dir The image stimulis need to be downloaded as instructed in Visual Images section https://github.com/KamitaniLab/GenericObjectDecoding because of copyright reasons The prototypes.7z file need to be extracted in prototypes/ dir. It can be downloaded in https://figshare.com/articles/dataset/Prototypes_for_analysis_pipeline/14099153