machina.prepro package

Submodules

machina.prepro.base module

class machina.prepro.base.BasePrePro(ob_space, normalize_ob=True)[source]

Bases: object

Preprocess for observations.

Parameters:
  • ob_space (gym.Space) –
  • normalize_ob (bool) –
prepro(ob)[source]

Applying preprocess to observations.

prepro_with_update(ob)[source]

Applying preprocess to observations with update.

update_ob_rms(ob)[source]

Updating running mean and running variance.