gtoubassi / dqn-atari Goto Github PK
View Code? Open in Web Editor NEWA TensorFlow based implementation of the DeepMind Atari playing "Deep Q Learning" agent that works reasonably well
A TensorFlow based implementation of the DeepMind Atari playing "Deep Q Learning" agent that works reasonably well
Dear Gtoubassi
Thank you for your code and I find that something puzzles me.
The running step4, what is the game ROM, and how to download it?
Thank you for your reply.
Yours Luo
Dear Gtoubassi
Thank you for your reply.
I have downloaded a game ROM of space invaders. I followed the running instructions from the readme file, but something wrong happened, as the following demonstrating.
moxing@moxing-OptiPlex-9020:~/Prj/RL/DQN/dqn-atari$ python ./play_atari.py ~/space_invaders.bin | tee train.log A.L.E: Arcade Learning Environment (version 0.6.0) [Powered by Stella] Use -help for help screen. Warning: couldn't load settings file: ./ale.cfg Traceback (most recent call last): File "./play_atari.py", line 37, in <module> Arguments: Namespace(compress_replay=False, eval_epoch_steps=125000, learning_rate=0.00025, model=None, normalize_weights=True, observation_steps=50000, prioritized_replay=False, replay_capacity=1000000, rom='/home/moxing/space_invaders.bin', save_model_freq=10000, screen_capture_freq=250, target_model_update_freq=10000, train_epoch_steps=250000) environment = AtariEnvironment(args, baseOutputDir) File "/home/moxing/Prj/RL/DQN/dqn-atari/atari_environment.py", line 27, in __init__ self.ale.loadROM(args.rom) File "/home/moxing/anaconda3/lib/python3.6/site-packages/ale_python_interface/ale_python_interface.py", line 138, in loadROM ale_lib.loadROM(self.obj, rom_file) ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type
I put the ROM file and the py file in the same folder, and I input the running command in the pytharm's terminal.
What the problems are? Could you please help me out?
Sincerely Luo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.