项目作者: fdevita92

项目描述 :
Deep Reinforcement learning applied on open AI MountainCar environment
高级语言: Python
项目地址: git://github.com/fdevita92/MountainCar.git
创建时间: 2018-04-15T16:03:15Z
项目社区:https://github.com/fdevita92/MountainCar

开源协议:

下载


MountainCar

Deep Reinforcement learning applied on open AI MountainCar environment

Training

The script will train the network for 1500 episodes, to train it just type on your command line: python3 dqn_mountaincar.py train. Every 100 episodes the script will save the network weights inside the model directory.

Testing

To test the system type: python3 dqn_mountaincar.py test (It will use the latest model saved at the 1500th episode)

Best Model

It is possible to run the script after training to verify which is the best saved model(This can take a lot of time, so be patient). To run it type: python3 dqn_mountaincar.py best, it will test every model for 10 episodes and it will return the best one with the highest win count (on average).

Main Dependencies

  1. Tensorflow
  2. Keras
  3. gym
  4. h5py

For any question or suggestion feel free to contact me.