tychovdo/PacmanDQN
关于
Deep Reinforcement Learning in Pac-man
学习与教育实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PacmanDQN
Deep Reinforcement Learning in Pac-man
Demo
Example usage
Run a model on smallGrid layout for 6000 episodes, of which 5000 episodes
are used for training.
$ python3 pacman.py -p PacmanDQN -n 6000 -x 5000 -l smallGrid
Layouts
Different layouts can be found and created in the layouts directory
Parameters
Parameters can be found in the params dictionary in pacmanDQN_Agents.py.
Models are saved as "checkpoint" files in the /saves directory.
Load and save filenames can be set using the load_file and save_file parameters.
Episodes before training starts: train_start
Size of replay memory batch size: batch_size
Amount of experience tuples in replay memory: mem_size
Discount rate (gamma value): discount
Learning rate: lr
Exploration/Exploitation (ε-greedy):
Epsilon start value: eps
Epsilon final value: eps_final
Number of steps between start and final epsilon value (linear): eps_step
Citation
Please cite this repository if it was useful for your research:
@article{van2016deep,
title={Deep Reinforcement Learning in Pac-man},
subtitle={Bachelor Thesis},
author={van der Ouderaa, Tycho},
year={2016},
school={University of Amsterdam},
type={Bachelor Thesis},
}
Requirements
python==3.5.1tensorflow==0.8rc
Acknowledgements
DQN Framework by (made for ATARI / Arcade Learning Environment)
Pac-man implementation by UC Berkeley:
探索相关项目
加载中…
