Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: rostyhn
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 48.1 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Interactive Capability Model Learning (iCaML)

This is a fork of the repository for iCaML. In this repository, we attempt to apply the ideas from iCaML to 3D robotic simulation environments. To run our code, install poetry and then run poetry shell cd iCaML python3 kuka.py Try deleting the results folder if the sim opens but immediately crashes.

The rl folder contains our experiments in trying to figure out the way stable-baselines works, as well as our experiments in building the abstract state space.

The following is the original readme text.


This repository contains the code for the following paper:

Discovering User-Interpretable Capabilities of Black-Box Planning Agents.
Pulkit Verma, Shashank Rao Marpally, Siddharth Srivastava.
Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning, 2022.

Paper | Video | Slides

Directory Structure

|-- dependencies/ | |-- FF/ | |-- pddlgym/ | |-- VAL/ |-- gvg_agents/ |-- src/ | |-- agent.py | |-- config.py | |-- post_processing.py | |-- main.py | |-- interrogation/ | |-- lattice/ | |-- query/ | |-- sim/ | |-- utils/ |-- README.md

  • dependencies: This directory includes the external software used to run the code. This includes FF, VAL, and PDDLGym.

    • FF: https://fai.cs.uni-saarland.de/hoffmann/ff/FF-v2.3.tgz
    • PDDLGym: https://github.com/tomsilver/pddlgym
    • VAL: https://github.com/KCL-Planning/VAL
  • dependencies: Place all the domains in this directory. There must be a directory for each domain containing:

    • domain.pddl (domain file for that domain), and
    • instances directory containing the problem files for that domain.
  • gvg_agents: This has domain specific data including some results.

  • src: This directory stores the source code for iCaML. It contains 4 files:

    • agent.py: Contains the agent code.
    • config.py: Declares the configuration parameters.
    • post_processing.py: Post Processing code for the learned pddl.
    • main.py : Contains the main driver code which runs the code end-to-end.

src also contains code structured into following sub-directories: - interrogation: Contains the iCaML code. - lattice: Contains the model and lattice classes. - query: Contains the plan outcome query code. - sim: Simulator specific code. Contains a separate agent file for each simulator domain. - utils: Contains general utilities.

Configuration

Configuration parameters are set in src/config.py

  • FFPATH and VALPATH stores relative path of FF and VAL respectively.
  • PLANNER specifies which planner to use. Set it to FF only.

How to Run

  1. Install the required software pip3 install -r requirements.txt
  2. Download FF, FD, and VAL and place in dependencies directory. Compile FF and FD.

  3. Run main.py cd src python3 main.py

Please note that this is research code and not yet ready for public delivery, hence most parts are not documented.

In case you encounter any issues or bugs, please email verma.pulkit@asu.edu

Citation

@inproceedings{verma2022discovering, author = {Verma, Pulkit and Marpally, Shashank Rao and Srivastava, Siddharth}, title = {Discovering User-Interpretable Capabilities of Black-Box Planning Agents}, booktitle = {Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning}, year = {2022} }

Owner

  • Login: rostyhn
  • Kind: user

GitHub Events

Total
Last Year

Dependencies

dependencies/pddlgym/requirements.txt pypi
  • gym *
  • imageio *
  • matplotlib *
  • pillow *
pyproject.toml pypi
  • black ^24.3.0 develop
  • flake8 ^7.0.0 develop
  • ipython ^8.23.0 develop
  • isort ^5.13.2 develop
  • jupyter ^1.0.0 develop
  • pyright ^1.1.357 develop
  • func-timeout ^4.3.5
  • huggingface-sb3 ^3.0
  • ipython ^8.22.2
  • matplotlib ^3.8.3
  • numpy ^1.26.4
  • panda-gym 3.0.7
  • pillow ^10.2.0
  • pybullet ^3.2.6
  • python --- - ">=3.10,<3.12"
  • rl_zoo3 2.3.0
  • sb3_contrib 2.3.0
  • scipy ^1.12.0
  • stable_baselines3 2.3.1
  • xlwt ^1.3.0