adeptRL icon indicating copy to clipboard operation
adeptRL copied to clipboard

[Bug] ObsPreprocessor does not ops name_filters on call

Open benbellheron opened this issue 3 years ago • 0 comments

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

benbellheron avatar Sep 27 '20 00:09 benbellheron