Skip to content

[Bug] ObsPreprocessor does not ops name_filters on call #93

@benbellheron

Description

@benbellheron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions