MSc Artificial Intelligence - University of Amsterdam
- Author: Diego García Cerdas
- Daily supervisor: Dr. Iris Groen1
- External supervisor: Dr. Gemma Roig2
- Examiner: Dr. Pascal Mettes1
- Second Reader: MSc. Christina Sartzetaki1
1 Video & Image Sense Lab
2 CVAI Lab, Goethe University Frankfurt
Please follow these steps to setup the environment and data needed for using this repository.
- Create Python environment.
conda create -n thesis python=3.10
pip install -r requirements.txt
conda activate thesis
-
Download the
rgb2normal_consistency.pth
checkpoint for XTC network (Zamir et al., 2020) and place it in a local folder./data/xtc_checkpoints
. -
Setup the Natural Scenes Dataset (Allen et al., 2022) subset from the Algonauts 2023 Challenge (Gifford et al., 2023):
- Access the data by filling out this form.
- Extract the subject-specific zip-files in a local folder
./data/NSD/
. - Run
setup.py
to perform data preprocessing.
You can manipulate an image of your choice to maximize or minimize activations in a region of interest through:
python run_img --img_path "dog.png" --prompt "a photo of a dog" --subject 1 --roi "PPA"
The data for our main experiment (Section 4) can be obtained through:
python main_experiment.py --subject 1 --roi "PPA"