
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Adversarial Motion Prior (AMP) reinforcement learning extension for PPO based on RSL-RL.
AMP-RSL-RL is a reinforcement learning library that extends the Proximal Policy Optimization (PPO) implementation of RSL-RL to incorporate Adversarial Motion Priors (AMP). This framework enables humanoid agents to learn motor skills from motion capture data using adversarial imitation learning techniques.
The repository is available on PyPI under the package name amp-rl-rsl. You can install it directly using pip:
pip install amp-rsl-rl
Alternatively, if you prefer to clone the repository and install it locally, follow these steps:
Clone the repository:
git clone https://github.com/<your-username>/amp_rsl_rl.git
cd amp_rsl_rl
Install the package:
pip install .
For editable/development mode:
pip install -e .
If you want to run the examples, please install with:
pip install .[examples]
The required dependencies include:
numpy
scipy
torch
rsl-rl-lib
These will be automatically installed via pip.
amp_rsl_rl/
│
├── algorithms/ # AMP and PPO implementations
├── networks/ # Neural networks for policy and discriminator
├── runners/ # Training and evaluation routines
├── storage/ # Replay buffer for experience collection
├── utils/ # Dataset loaders and motion tools
The AMP-RSL-RL framework expects motion capture datasets in .npy
format. Each .npy
file must contain a Python dictionary with the following keys:
joints_list
: List[str]
A list of joint names. These should correspond to the joint order expected by the agent.
joint_positions
: List[np.ndarray]
A list where each element is a NumPy array representing the joint positions at a frame. All arrays should have the same shape (N,)
, where N
is the number of joints.
root_position
: List[np.ndarray]
A list of 3D vectors representing the position of the base (root) of the agent in world coordinates for each frame.
root_quaternion
: List[np.ndarray]
A list of unit quaternions in xyzw
format (SciPy convention), representing the base orientation of the agent for each frame.
fps
: float
The number of frames per second in the original dataset. This is used to resample the data to match the simulator's timestep.
Here’s an example of how the structure might look when loaded in Python:
{
"joints_list": ["hip", "knee", "ankle"],
"joint_positions": [np.array([0.1, -0.2, 0.3]), np.array([0.11, -0.21, 0.31]), ...],
"root_position": [np.array([0.0, 0.0, 1.0]), np.array([0.01, 0.0, 1.0]), ...],
"root_quaternion": [np.array([0.0, 0.0, 0.0, 1.0]), np.array([0.0, 0.0, 0.1, 0.99]), ...],
"fps": 120.0
}
All lists must have the same number of entries (i.e. one per frame). The dataset should represent smooth motion captured over time.
For a ready-to-use motion capture dataset, you can use the AMP Dataset on Hugging Face. This dataset is curated to work seamlessly with the AMP-RSL-RL framework.
BSD 3-Clause License © 2025 Istituto Italiano di Tecnologia
FAQs
Adversarial Motion Prior (AMP) reinforcement learning extension for PPO based on RSL-RL.
We found that amp-rsl-rl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.