entity-neural-network / entity-gym

Standard interface for entity based reinforcement learning environments.
Other
36 stars 5 forks source link

Bug in select entity action #20

Open Bene94 opened 1 year ago

Bene94 commented 1 year ago

When I have a select entity action and run it in the CliRunner the data format seems different than when I run it with entity gym:

For CliRunner I get.

SelectEntityAction(actors=[('Selector', 0)], actees=[3], probs=None)

In entity gym I get:

SelectEntityAction(actors=[('Selector', 0)], actees=[('Open Flows', 3)], probs=None)

This bug makes it that environments that run in CliRunner don't run in the trainer.