The code of using DQN to play Sekiro
![](https://www.deeplearningdaily.com/wp-content/uploads/2021/12/the-code-of-using-dqn-to-play-sekiro_61a7f32f0160f-375x210.jpeg)
This is the code of using DQN to play Sekiro .
I am very glad to tell that I have writen the codes of using DQN to play Sekiro . As is known to all , Supervised learning can only learn skills from the data we provide for it . However , this time by using Reinforcement Learning , we can see a more clever agent playing Sekiro .
Reinforcement Learning can update its network by itself , using the reward feedback , which means we no longer need to collect our own data sets this time . All the data sets come from the real-time interaction between DQN network and the game. By using this DQN network , you can fight any boss you want in the game