Comments (6)
Thanks Zach, I think that this is a good suggestion.
Maybe something along the lines of Gym's register environment?
To allow using Coach within other scripts, it would probably also be good to have a better python interface to Coach, such as the one you cited from rllab
.
from coach.
agree, would love this. I wanted to try using this with https://github.com/jtoy/sensenet as its openai compatible, but there were too many files to modify.
from coach.
I added a new method for specifying which environment to use in the case that the environment follows the interface provided by openai gym. In a preset, you can now specify the environment via: env.level = 'package.module:ClassName'
. This means that new environments and be integrated more easily. The only place where coach needs modified to work with new environments now is presets.py
. This change was completed in #41.
I will leave this issue open because it would still be nice to configure coach without modifying presets.py
. Also, this fix is only helpful in the case that your environment is a gym environment.
from coach.
@zach-nervana Great, I'll test it out and let you know.
from coach.
@zach-nervana could you update the docs (https://nervanasystems.github.io/coach/contributing/add_env/index.html) to reflect your change?
Thanks,
from coach.
thanks @saddy001, it is now updated in https://nervanasystems.github.io/coach/contributing/add_env/index.html as you suggested.
the environment integration process was simplified as well, and we also have a step by step tutorial notebook to accompany the documentation (https://github.com/NervanaSystems/coach/blob/master/tutorials/2.%20Adding%20an%20Environment.ipynb)
from coach.
Related Issues (20)
- Deploying distributed learning on University cluster
- Installation Failure HOT 1
- How to use UCB Exploration via Q-Ensembles
- TypeError with Boltzmann Exploration for Discrete Custom Gym-Environment
- Using custom tf.keras model
- TimeDistributed LSTM Middleware
- Running DDQNBCQ in a Spark Cluster: why the traninig time is increased?
- Dashboard runs very slow: how can I speed it up?
- Saver fails to restore agent's checkpoint HOT 1
- Training performance on Starcraft II? HOT 1
- Cannot import minio.error ResponseError HOT 7
- Import Error HOT 3
- Presets not found HOT 3
- Unable to alter example file in Batch RL tutorial
- How to load a pretrained model (e.g. SAC) pb file to coach and continue to train ? HOT 1
- How to convert ckpt to .pb ?
- Categorical DQN - dimension error
- ERROR: No matching distribution found for tensorflow-gpu==1.9.0
- ImportError: cannot import name 'ResponseError' from 'minio.error' when rl-coach installed with pip
- Can not find 'datasets/doom_basic.p' file mentioned in Doom_Basic_BC.py preset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coach.