使用 cnn q - approximation 构建深度强化学习

Building a deep reinforcement learning with a cnn q - approximation

我是 DRL 的新手。从这段代码https://github.com/jaromiru/cwcf开始,我想用CNN代替用于q函数逼近的MLP,但我不知道该怎么做。有谁能够帮我?谢谢

尝试浏览 this it has a detailed explanation on how to build DQN to solve the CartPole problem. You can also have a look at this,它实现了许多 DRL 算法

然后你可以用 DQN 代理代码

替换 repo 中存在的 agent.py 中的代码