Exploring the PlacePulse 2.0 dataset and explaining the urban safety perception through visual features. Paper.
- Python>=3.12
pip install -r requirements.txt
Obtain the Place Pulse 2.0 dataset here.
-
Download images and
pp2_raw_data.zip. -
Create a
.envfile, and add the path of the data downloaded and models.DATA_PATH=/path_to/datasets/ MODEL_PATH=/path_to/models/ -
Train models running
notebooks/Models/Visual_Branch.ipynb.
ornotebooks/Models/Semantic_Branch.ipynb.
ornotebooks/Models/UrbanFormer.ipynb. -
Run visual explanations
notebooks/Explanations/XAI_Visual.ipynb.
Then, run semantic explanationsnotebooks/Explanations/XAI_Semantic.ipynb.
Finally, perform IoU importancenotebooks/Explanations/XAI_UrbanFormer.ipynb.
@inproceedings{moreno2024MhatMakes,
author={Moreno-Vera, Felipe and Brandoli, Bruno and Poco, Jorge},
title={What Makes a Place Feel Safe? Analyzing Street View Images to Identify Relevant Visual Elements},
booktitle={2024 IEEE/WIC International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT)},
year={2024},
pages={395-399},
doi={10.1109/WI-IAT62293.2024.00062}
}
For any issue please kindly email to felipe [dot] moreno [at] fgv [dot] br