Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add road regeneration and pretraining #9

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Add road regeneration and pretraining #9

wants to merge 21 commits into from

Conversation

araffin
Copy link
Owner

@araffin araffin commented Jun 9, 2019

  • upgraded stable-baselines
  • add seeding and road generation
  • add pretraining using behavior cloning
  • add data-augmentation

TODO: tune pretraining

@araffin araffin changed the title Add road regeneration and update algos Add road regeneration and pretraining Jun 9, 2019
@araffin araffin marked this pull request as ready for review June 9, 2019 21:11
Copy link

@vanmil vanmil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be nicer to use the gym register method instead of removing it?

In my own code I'm now using

from gym.envs.registration import register
register(
    id='donkey-v0',
    entry_point='donkey_gym.envs:DonkeyEnv',
    timestep_limit=2000,
)

and then in the code part where I learn the RL algorithm, I pass arguments to the gym.make command to init the env with the desired simulator level and vae object (or None if not using vae) like env = gym.make('donkey-v0', vae=vae, level=3)

By the way; great repo! ;)

@araffin
Copy link
Owner Author

araffin commented Jun 26, 2019

Good point, in fact this is a recent addition to gym, this feature was missing for a long time, hence i was not using the make function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants