This repository is the official implementation of the paper "Neuro-Symbolic Predicate Invention: Learning Relational Concepts from Visual Scenes"
- Install Python 3.8
- Install Pytorch 1.13.1
pip install -r requirements.txt
To run the experiments remotely, we provide a docker file Dockerfile
in the root folder.
docker build -t nesy_pi_docker .
Using flag -v
to save the dataset folder storage
to a perferable place.
docker run --gpus all -it -v path/to/storage:/nesypi/storage --rm nesy_pi_docker
The dataset is saved here.
Please download the dataset and unzip the folder to NeSy-PI\storage
.
Check Readme file in folder NeSy-PI/src
.