facebookresearch/algonauts-2025
소개
Training and evaluating encoding models to predict fMRI brain responses to naturalistic video stimuli
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTRIBE: TRImodal Brain Encoder for whole-brain fMRI response prediction
This repository can be used for training and evaluating encoding models to predict fMRI brain responses to naturalistic video stimuli.
Create the environment
1. Create a conda environment for running and evaluating the model:
export ENVNAME=algonauts-2025
conda create -n $ENVNAME python=3.12 ipython -y
conda activate $ENVNAME
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0
git clone https://github.com/facebookresearch/algonauts-2025.git
cd algonauts-2025/data_utils
pip install -e .
cd ../modeling_utils
pip install -e .
pip install transformers moviepy spacy nilearn Levenshtein "huggingface_hub[cli]" julius
2. Get access to the LLAMA3.2-3B repository on HuggingFace. First, run:
huggingface-cli login
Then, create a read token and copy when prompted.
3. Set paths to the Algonauts dataset, where you want to save your results, and what Slurm partition to use. This can be done by setting corresponding values in algonauts2025/grids/defaults.py, or alternatively, by adding the following to your shell’s startup file (e.g., .bashrc, .zshrc, etc.).
export SAVEPATH="/your/save/directory"
export DATAPATH="/path/to/algonauts/dataset"
export SLURM_PARTITION="your-slurm-partition"
Run a test training locally
python -m algonauts2025.grids.test_run
Run a grid search on Slurm
python -m algonauts2025.grids.run_grid
Train an ensemble of models
python -m algonauts2025.grids.run_ensemble
Training and results can be monitored using Weights & Biases. See the config key wandb_config.
License
This repository is CC-BY-NC licensed, as found in the LICENSE file.
관련 프로젝트 살펴보기
불러오는 중…