-
Notifications
You must be signed in to change notification settings - Fork 108
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
Question regarding the dueling network architecture part #8
Comments
The whole data flow is indeed fed to both the intial value and advantage streams. After that, there are seperate dense layers for the final calculations. The Lambda layer is just for slicing the previous conv layer into the val and adv streams, as is done in Wang et al. 2016. Sorry for the late reply, thank you for your patience. If you have any more questions or if this wasn't clear enough, please let me know and I'll try to get back to you as soon as possible. |
Hi, thanks for your reply, The question is why you want to slice it rather than just share the same flow among value and advantage? Because the flow feed to value and advantage should be the same. There is also no slice operation in the paper.
|
I believe there is a slice/split operation in the paper:
I might be wrong about this (and it would undoubtedly be interesting to experiment with the architecture you detailed), but this is how I personally interpreted the paper. |
Hi, I found below code in the network part of train_dqn.py
###########################################################
Split into value and advantage streams
val_stream, adv_stream = Lambda(lambda w: tf.split(w, 2, 3))(x) # custom splitting layer
##############################################################################
It looks like the source from hidden network was divided into 2 different partial parts then one feed to state value, another one to adv value. I have also checked other implementations and paper. It looks like each flow should be the complete copy of the hidden layer rather than partial of it. Can i ask why you want to split it rather than feed the same whole data flow to both stat and adv?
Many thanks!
Edward
The text was updated successfully, but these errors were encountered: