GOLMI is a framework for creating abstract representations and interfaces to object manipulation tasks. It is built on Flask and Flask-SocketIO.
Install golmi into your projects python environment.
- Download or clone golmi (and unpack it)
- Go into the root folder and run
pip install .
- building interactive (2D) interfaces for empirical studies involving e.g. the selection or moving around of objects
- reinforcement learning, e.g. with an agent producing commands from the abstract representation or images
- we intend to incorporate GOLMI into slurk for crowd-sourcing tasks
The /demo
endpoint offers a simple demo of a browser interface showing a board with Pentomino pieces. A user can manipulate a 'gripper' to grip and move pieces.
How to start the demo:
- (Activate your virtual environment, if using one)
- Install python dependencies:
pip install -r requirements.txt
- Run the server:
python run.py [-h] [--host HOST] [--port PORT]
. By default, it will run onhttp://localhost:5000/
- Navigate to
http://localhost:5000/demo
in a browser. - Press the 'Start' button to begin rendering. You can move the gripper around using the arrow keys and grip using Space or Enter. Use 'Stop' to stop rendering and freeze the current state.