Skip to content

Method do of PigChaseEnvironment returns inconsistent type #44

@philipjhj

Description

@philipjhj

the env.do(...) method produces both tuple and numpy.ndarray for the returned state.

Add print(type(obs)) after line 125 in evaluation.py to reproduce the following output:

Episode 6 (0.00)%
<type 'tuple'>
<type 'numpy.ndarray'>
<type 'tuple'>
<type 'numpy.ndarray'>
<type 'tuple'>
<type 'numpy.ndarray'>
<type 'tuple'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions