MetaWorld Wrappers#
Descriptions#
This module provides a Gymnasium wrapper for Meta-World environments that replaces the environment’s reward with the binary success signal. The reward will be either -1.0 (failure) or 0.0 (success).
Classes#
- class objectrl.utils.environment.metaworld_wrappers.SparsifyRewardWrapper(env)[source]#
Bases:
WrapperGymnasium wrapper for Meta-World environments that replaces reward with the binary success signal.
- Parameters:
env – gym.Env The Meta-World environment to wrap.