Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
TensorFlow Reinforcement Learning Quick Start Guide

You're reading from   TensorFlow Reinforcement Learning Quick Start Guide Get up and running with training and deploying intelligent, self-learning agents using Python

Arrow left icon
Product type Paperback
Published in Mar 2019
Publisher Packt
ISBN-13 9781789533583
Length 184 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Kaushik Balakrishnan Kaushik Balakrishnan
Author Profile Icon Kaushik Balakrishnan
Kaushik Balakrishnan
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Up and Running with Reinforcement Learning FREE CHAPTER 2. Temporal Difference, SARSA, and Q-Learning 3. Deep Q-Network 4. Double DQN, Dueling Architectures, and Rainbow 5. Deep Deterministic Policy Gradient 6. Asynchronous Methods - A3C and A2C 7. Trust Region Policy Optimization and Proximal Policy Optimization 8. Deep RL Applied to Autonomous Driving 9. Assessment 10. Other Books You May Enjoy

Training a PPO agent

We saw previously how to train a DDPG agent to drive a car on TORCS. How to use a PPO agent is left as an exercise for the interested reader. This is a nice challenge to complete. The PPO code from Chapter 7, Trust Region Policy Optimization and Proximal Policy Optimization, can be reused, with the necessary changes made to the TORCS environment. The PPO code for TORCS is also supplied in the code repository (https://github.com/PacktPublishing/TensorFlow-Reinforcement-Learning-Quick-Start-Guide), and the interested reader can peruse it. A cool video of a PPO agent driving a car in TORCS is in the following YouTube video at: https://youtu.be/uE8QaJQ7zDI

Another challenge for the interested reader is to use Trust Region Policy Optimization (TRPO) for the TORCS racing car problem. Try this too, if interested! This is one way to master RL algorithms.

...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image