adeptRL
adeptRL copied to clipboard
[Bug] ObsPreprocessor does not ops name_filters on call
Example:
cpu_ops = [CustomOpFn(name_filters=[dict_key])]
cpu_preprocessor = ObsPreprocessor(
cpu_ops,
Space.from_gym(observation_space),
Space.dtypes_from_gym(observation_space),
)
I expect that my CustomOpFn should only be receiving the name_filters specified when calling update_shape
, update_dtype
and update_obs
but it does not occur for update obs.
Relevant file/lines: https://github.com/heronsystems/adeptRL/blob/master/adept/preprocess/observation.py#L51