python IRL/environment.py ✘ 1
Traceback (most recent call last):
File "IRL/environment.py", line 189, in <module>
test_grid()
File "IRL/environment.py", line 186, in test_grid
assert d, "Agent should reache the goal"
AssertionError: Agent should reache the goal
指摘事項
IRL/environment.pyを実行した際に
test_grid
が実行され,GridWorldEnvクラスが正常に動作するかの確認がされていると思いますGrid左下を開始地点とし,左上の終了地点を目指していますが,終了地点に到達した際に
d
(おそらくdoneの意?)がfalseのままなので,テストが失敗しています具体的には以下のリンク箇所です
https://github.com/icoxfog417/baby-steps-of-rl-ja/blob/f21735d933b05af3e6f5e99497eea86e50a842c6/IRL/environment.py#L186
指摘箇所
ページ番号: p 254
実行環境
pip freeze
の実行結果 (下に添付)エラー内容
(例外のメッセージ、ログ、画面ショットなどを添付)