DeepRL-TensorFlow2 icon indicating copy to clipboard operation
DeepRL-TensorFlow2 copied to clipboard

From_logit in A2C_discrete.py should be False

Open gzlong96 opened this issue 5 years ago • 0 comments

In the Actor net, It seems that from_logit should be set to False in tf.keras.losses.SparseCategoricalCrossentropy(from_logits=True) as you added a softmax in the last layer:)

gzlong96 avatar Oct 25 '20 05:10 gzlong96