Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

迷宫环境的疑问 #215

Open
guest-oo opened this issue Apr 28, 2024 · 0 comments
Open

迷宫环境的疑问 #215

guest-oo opened this issue Apr 28, 2024 · 0 comments

Comments

@guest-oo
Copy link

guest-oo commented Apr 28, 2024

请问 作者在设计DQN的迷宫环境时,每次reset可以产生随机生成环境吗? 智能体与障碍物发生碰撞的时候,可以选择让其保持在原有位置吗? 请问可以将self.observation_space = spaces.Box(low=0, high=3, shape=(529,), dtype=np.int32) 迷宫环境转为一维的吗?例如这样self.observation_space = spaces.Box(low=0, high=3, shape=(529,), dtype=np.int32) 0为可移动 1为智能体位置 2 为终点 3 为障碍物

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant