Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 808 Bytes

File metadata and controls

50 lines (32 loc) · 808 Bytes

xAI Service

The xAI methods (LIME, SHAP, Occlusion Sensivity) are provided as microservices which is accessible by FastAPI (REST API).

Prerequisites

  • Python 3.8.10
  • Docker installed if you wish to containerize the application

Installation

Clone the repository to your local machine:

git clone https://github.com/mobile-cloud-computing/spatial-xAI.git

Create and activate environment Variable:

python3 -m venv venv
source venv/bin/activate

Change directory to the cloned repository:

cd xAI

Install python requirements:

pip install -r requirements.txt

Run the application locally

python3 main.py

Deploy using Docker

Go to the 'xai_docker' folder and run the command below

sudo docker-compose up --build