Chapter 1 - Last Example - Agent w GridworldEnv and DiscretePolicy #6
Replies: 2 comments 2 replies
-
Hi @BeavFactory , Thank you for bringing this up for discussion. It looks like the error you are getting is due to the inputs to the Agent's policy network on your end being Could you please try running the last recipe (now in a single python file that you can execute) using this script and report back if you still face the issue? |
Beta Was this translation helpful? Give feedback.
-
hi @praveen-palanisamy , when I run the code of Cookbook/blob/master/Chapter01/06_neural_evolutionary_agent.py (in a Jupyter Notebook) I see what is the in the attached image. Seems not to be converging as the threshold goes to 0 after the 2nd iteration. I also don't understand why 'fire' is used here. The code seems somewhat different than what is in the book. |
Beta Was this translation helpful? Give feedback.
-
I typed in the example as given in the book at the end of Chapter 1. I keep getting the 'below' error. Any thoughts?
Full error printout:
Beta Was this translation helpful? Give feedback.
All reactions