linzichuan / emdqn Goto Github PK
View Code? Open in Web Editor NEWCode for paper "Episodic Memory Deep Q-Networks" (https://arxiv.org/abs/1805.07603), IJCAI 2018
License: MIT License
Code for paper "Episodic Memory Deep Q-Networks" (https://arxiv.org/abs/1805.07603), IJCAI 2018
License: MIT License
Hello LinZichuan,
I tried your train_cartpole.py, but got:
Traceback (most recent call last):
File "train_cartpole.py", line 31, in
main()
File "train_cartpole.py", line 24, in main
callback=callback
File "c:\emdqn-master\baselines\deepq\simple.py", line 235, in learn
td_errors = train(obses_t, actions, rewards, obses_tp1, dones, weights)
File "c:\emdqn-master\baselines\common\tf_util.py", line 442, in call
assert inpt in self.givens, "Missing argument " + inpt_name
AssertionError: Missing argument qec
Thanks for your help!
Hi, do you have an usage example for plotting results with this code? If I don't use Container from the azure_util module then only a text file with timesteps and averaged reward would be saved.
Edit: I figured out about results logging with SimpleMonitor but I would appreciate an use case of saving and logging with Container.
Thank you kindly!
Dan
Hi, there can be a bug in wrappers. When I first ran the code, I got the following bug.
I found the reason is that wrapper' s attributions, '_reset', '_step' , are not used at all. This might because of different gym version (they change '_reset' to 'reset'). Finally, I fix the bug by setting all '_reset' , '_step', to 'reset' , 'step' in baselines/common/atari_wrappers_deprecated.py.
Can you report the exact version of gym and fix this bug ?
Thanks!
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.