Group Abstract Group Abstract

Message Boards Message Boards

Implementing Deep Q-Networks (DQN) algorithm

Attachments:
POSTED BY: Mikel Landajuela
3 Replies

I get some immediate errors when training, but if I change this line:

<|"Measurement"->Function[N[#BatchData["score"]][[1]]],"Key"->"Score"|>

to this:

<|"Measurement"->Function[N[#BatchData["score"]]],"Key"->"Score"|>

it works. (and it seems pretty clear from the code above that the "score" is a real number)

However, the trained agent doesn't seem to do very well on my 2018 MacBook pro. Twice it hung (although after manually stopping, the agent does pretty well), and once it finished but failed to hold up the cart pole (image attached). enter image description here

POSTED BY: Peter Barendse

I’ve tried running this on a couple of different (powerful) PCs, but failed in each case. It seems to hang part way through the NetTrain evaluation.

POSTED BY: Jonathan Kinlay
POSTED BY: EDITORIAL BOARD
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard