openai / coinrun

Code for the paper "Quantifying Transfer in Reinforcement Learning"
https://blog.openai.com/quantifying-generalization-in-reinforcement-learning/
MIT License
390 stars 86 forks source link

Selecting a specific level #12

Closed ShaniGam closed 5 years ago

ShaniGam commented 5 years ago

How can I select a specific level when defining the environment (for coinrun)?

kcobbe commented 5 years ago

Use the command line arguments --num-levels 1 --set-seed N, and change the value of N to whatever you like. You'll always get the same level (a level randomly sampled from a set of size 1). Try it out with interactive.py.

ShaniGam commented 5 years ago

it works, thanks!