Skip to content

Chapter 05: Fixed state space initialization#1

Open
AdrienFelipe wants to merge 1 commit intoPacktPublishing:masterfrom
AdrienFelipe:fix/chapter05-state-space
Open

Chapter 05: Fixed state space initialization#1
AdrienFelipe wants to merge 1 commit intoPacktPublishing:masterfrom
AdrienFelipe:fix/chapter05-state-space

Conversation

@AdrienFelipe
Copy link
Copy Markdown

The function generalized_policy_iteration() fails due to the fact its states variable is initialized with:

    states =  env.observation_space # Which is None

It should be initialized with

    states =  env.state_space # Same as the other cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant