Skip to content

VirtuosoResearch/PolicyGradEx

Repository files navigation

metaworld-algorithms

Implementations of Multi-Task and Meta-Learning baselines for the Metaworld benchmark

Installation

From a clone of the repository

  1. Install uv
  2. Create a virtual environment for the project: uv venv .venv --python 3.12
  3. Activate the virtual environment: source .venv/bin/activate
  4. Install the dependencies: uv pip install -e ".[cuda12]"

Note

To use other accelerators, replace cuda12 with the appropriate accelerator name. Valid options are cpu, tpu, cuda12, and metal.

Structure

Here is how you can navigate this repository:

  • examples contains code for running baselines.
  • metaworld_algorithms/rl/algorithms contains the implementations of baseline algorithms (e.g. MTSAC, MTPPO, MAML, etc).
  • metaworld_algorithms/nn contains the implementations of neural network architectures used in multi-task RL (e.g. Soft-Modules, PaCo, MOORE, etc).
  • metaworld_algorithms/rl/networks.py contains code that wraps these neural network building blocks into agent components (actor networks, critic networks, etc).
  • metaworld_algorithms/rl/buffers.py contains code for the buffers used.
  • metaworld_algorithms/rl/algorithms/base.py contains code for training loops (e.g. on-policy, off-policy, meta-rl).
  • meatworld_algorithms/envsmetaworld.py contains utilities for wrapping metaworld for use with these baselines.

export CUDA_VISIBLE_DEVICES=0

Project document: https://docs.google.com/document/d/1zimSh1nK7bxsLsdHNyFYFiGWSXVQPlFLXJTDZ5XsMl0/edit?usp=sharing

About

An efficient and scalable computational framework for multitask and meta RL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages