Skip to main content

A Production Tool for Embodied AI.

Project description

Loopquest

A Production Tool for Embodied AI.

Tutorial Video:

Major features:

  • Log all the observation, action, reward, rendered images into database with only ONE extra line of code.
env = gymnasium.make("MountainCarContinuous-v0", render_mode="rgb_array")

->

env = LoopquestGymWrapper(
    gymnasium.make("MountainCarContinuous-v0", render_mode="rgb_array")
)
  • Beautiful frontend to visualize all the data and rendered images / videos of the simulation environment.
  • (Coming Soon) Compare your experiments in an intuitive way.
  • (Coming Soon) Directly trainable data for robotics foundation model. Select and download the (observation, action, reward) data with the dataloader interfaces of the most popular deep learning frameworks (e.g. tensorflow, pytorch, huggingface dataset apis).

Installation (dev only for now)

Clone the git to your local machine by running

git clone https://github.com/LoopMind-AI/loopquest.git

Change to the project root folder and install the package

cd loopquest
pip install -e .

How to run (dev only for now)

At loopquest folder, bring up the backend server and database,

docker compose up --build

Bring up the frontend web app,

cd frontend
npm run dev

Then run quickstart script,

python examples/quickstart.py

The command prompt should mention "Check your experiment progress on http://localhost:3000/experiment/<exp_id>".

Quick Start Example

import gymnasium
from loopquest.gym_wrappers import LoopquestGymWrapper

frontend_url = "http://localhost:3000"
backend_url = "http://localhost:8000"
user_id = "dope_robotics_hacker"
experiment_name = "a test"
env = LoopquestGymWrapper(
    gymnasium.make("MountainCarContinuous-v0", render_mode="rgb_array"),
    frontend_url,
    backend_url,
    user_id,
    experiment_name,
)
obs, info = env.reset()
for i in range(100):
    action = env.action_space.sample()
    obs, reward, terminated, truncated, info = env.step(action)
    rgb_array = env.render()
    if terminated or truncated:
        break
env.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loopquest-0.1.1.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

loopquest-0.1.1-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page