The xAI methods (LIME, SHAP, Occlusion Sensivity) are provided as microservices which is accessible by FastAPI (REST API).
- Python 3.8.10
- Docker installed if you wish to containerize the application
Clone the repository to your local machine:
git clone https://github.com/mobile-cloud-computing/spatial-xAI.gitCreate and activate environment Variable:
python3 -m venv venv
source venv/bin/activateChange directory to the cloned repository:
cd xAIInstall python requirements:
pip install -r requirements.txtpython3 main.pyGo to the 'xai_docker' folder and run the command below
sudo docker-compose up --build