MedARC-AI / fMRI-reconstruction-NSD

fMRI-to-image reconstruction on the NSD dataset.
MIT License
308 stars 44 forks source link

Add ResNet50 embedder #11

Closed jimgoo closed 1 year ago

jimgoo commented 1 year ago
Screenshot 2023-03-29 at 8 52 05 PM

Add a class for embedding images with ResNet50, which takes a parameter for which layer to extract features from (either 2, 3, or 4). The MinReader paper uses layer 2 (with dim 512) as f_mr, then later in another experiment layer 4 (with dim 2048).