This library allows users to debug and visualise Animal-AI configuration files.
This section will guide you through installing and using Animal-AI Configuration Assistant locally.
- Python 3 - Download Python 3 (any version in the 3.9.x line)
-
Clone this repository to your local machine
git clone [email protected]:mgm21/aai-config-assist.git cd aai-config-assist
-
Set up your virtual environment in the root of the cloned repository
- Linux/macOS
python -m venv venv source venv/bin/activate
- Windows
python -m venv venv venv\Scripts\activate
- Linux/macOS
-
Install the required packages in the development environment
pip install -r requirements.txt
- Open the running_app.py file in an editor of your choice (Vim, TextEdit, VS Code, Pycharm...)
- Replace the
config_path
variable with the path from the repository root to your.yaml
configuration file. For example, if your configuration file isaai-config-assist/config.yaml
then your path would beos.path.join("example_configs", "config.yaml")
- Open Terminal, and navigate to the root of this repository. You can run
pwd
in Terminal to ensure that your working directory is theaai-config-assistant
repository on your local machine. - In Terminal, enter the following command to execute the running_app.py
python -m scripts.checking_and_visualising
You should now see a visualisation of your configuration arena as well as a summary of the overlaps between items in your configuration (in the Terminal log output).
If you run into any issues, please get in touch (see Contact section below).
Matteo G. Mecattaf - LinkedIn