simoninithomas / Deep_reinforcement_learning_Course

Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
http://www.simoninithomas.com/deep-rl-course
3.77k stars 1.22k forks source link

Question for deep-q learning Algo #74

Closed rajanlagah closed 4 years ago

rajanlagah commented 4 years ago

I was telling my code of deep learning with yours. I was stuck on

Deep Q Learning/Space Invaders/DQN Atari Space Invaders.ipynb

                for i in range(0, len(batch)):
                    terminal = dones_mb[i]

                    # If we are in a terminal state, only equals reward
                    if terminal:
                        target_Qs_batch.append(rewards_mb[i])

What is terminal state here ? WIN and LOOSE ? bcoz then u terminate the game and restart it.