You can see the demo here
- Clone the github repo
- Install the python requirements:
pip install -r requirements.txt
- Install torch-geometric. You can use this tutorial.
- Change to
web
directory:cd web
- Install the node modules:
npm install
(you need to install npm first) - Run the Vue app with command
npm run build
- Return to the main directory
cd ..
- Run the server with
python web_service.py
command. The server will listen to port 5000 on all networks by default. The UI should be accessible fromhttp://localhost:5000
- Run the Vue app with command
npm run serve
. The frontend is accessible athttp://localhost:8080/
and tries to communicate with backend athttp://localhost:5000
.
There is an experiment template in the experiments
folder which you can use as a starting point.
Copy experiment.py
and modify it as necessary.