abhayraw1 / planet-torch

A PyTorch Implementation of PlaNet: A Deep Planning Network for Reinforcement Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dreamer-pytorch

MIT License

A PyTorch Implementation of PlaNet: A Deep Planning Network for Reinforcement Learning [1] by Danijar Hafner et.al.

Usage

  • Run main.py for training.
  • Run eval.py for evaluation of a saved checkpoint.
  • Tensorboard will be used to display and store metrics and can be viewed by running the following:
$ tensorboard --logdir <path_to_repository>/results
  • Visit tensorboard in your browser! By default tensorboard launches at localhost:6006. You might see a screen similar to this: Tensorboard

Results

The video on the left is the downscaled version of the gym render.
The one on the right is generated by the decoder model.

During Training

training

After Training

training

Installation and running!

Install dependencies ...

  • pytorch==1.4.0
  • tensorboard-pytorch==0.7.1
  • tqdm==4.42.1
  • torchvision==0.5.0
  • gym==0.16.0

References & Acknowledgements

About

A PyTorch Implementation of PlaNet: A Deep Planning Network for Reinforcement Learning


Languages

Language:Python 100.0%