QuickStart Guide
Welcome to Loopquest 🎉!
Install
pip install loopquestLocal Evaluation
Copy the following code and run it in your machine. The data will be recorded in Loopquest. Check the Github code for API details.
import loopquestfrom loopquest.eval import evaluate_local_policyfrom loopquest.policy.base import BasePolicyclass MyPolicy(BasePolicy): def __init__(self): # Implement your policy pass def compute_action(self, observation): # Implement your policy passloopquest.init()policy = MyPolicy()evaluate_local_policy( policy, [ "CartPole-v1", "MountainCar-v0", "LunarLander-v2", ], num_episodes=10, num_steps_per_episode=1000, project_name="Your Project Name", experiment_name="Your Experiment Name", project_description="Your Project Description", experiment_description="Your Experiment Description", # Feel free to record any experiment configs here as a dict experiment_configs={})Dataset Download
Then download the data generated by the experiment for foundation model training or offline Reinforcement Learning.
from loopquest.datasets import load_datasetsds = load_datasets(["exp_id1", "exp_id2"])