simoninithomas/Deep_reinforcement_learning_Course

Cannot get Q value prediction for next_state

Christopheraburns opened this issue · 0 comments

I am getting an error on this line:

Qs_next_state = sess.run(DQNetwork.output, feed_dict={DQNetwork.inputs_: next_states_mb})

Tensorflow does not like the np.array structure. I am assuming something is happening when we create the mini-batches from batch.

Anyone else get this error?

Error in train function: setting an array element with a sequence.
<class 'ValueError'>

TIA