-
-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
If I use
ReinforcementLearningBase.get_actions(env::MyEnv) = [-1, 1]the DQN example will throw an out of bounds error. I think this is because of the -1 action. Is this the intended behavior? Do actions need to be natural numbers, or can they be numbers that have physical meaning for the problem?
Complete code to reproduce the error: https://gist.github.com/zsunberg/a6fdebed95c518ba4e06e1d5d782a30a
Metadata
Metadata
Assignees
Labels
No labels