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

Merge Toys redux #10

Closed
wants to merge 8 commits into from
Closed

Merge Toys redux #10

wants to merge 8 commits into from

Conversation

jvmncs
Copy link
Collaborator

@jvmncs jvmncs commented Jan 11, 2019

Closes #7
Builds on #8 to include necessaries for metric tracking in agents repo and to conform to Python conventions.

@jvmncs jvmncs mentioned this pull request Jan 11, 2019
Copy link
Owner

@david-lindner david-lindner left a comment

Choose a reason for hiding this comment

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

This looks very good! Just minor things, see my comments.

@jvmancuso Why do we need this gym fork? To me it looks like your fork is the same as the openai master.

We should do the little updates to the render function and change the font as discussed in #8 Then I think we can merge this! (EDIT: changes made in #14)

@@ -53,7 +53,10 @@
"reinforcement learning "
),
install_requires=["gym", "ai-safety-gridworlds", "numpy>=1.14.5"],
dependency_links=["https://github.com/jvmancuso/ai-safety-gridworlds/tarball/master#egg=ai-safety-gridworlds-1.2.2"],
dependency_links=[
"https://github.com/jvmancuso/gym/tarball/master#egg=gym-0.10.10",
Copy link
Owner

Choose a reason for hiding this comment

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

Why do we use this fork? The PR you mention seems to have been merged into the openai/gym master already.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The version of gym from PyPI is 0.10.9 and was released 5 Nov, 2018, so any PRs merged to master since then aren't on PyPI. openai/gym#492 was merged after that. It seemed reasonable to point our dependency_link arg to their master branch since the package is now in maintenance mode, but setuptools wasn't able to find it and would fallback to the 0.10.9 version on PyPI.

I can try again to see if that'll work (cause there were other complicating factors at the time that I found later), but what I ended up doing was making a release on my fork and pointing our dependency_link to that.

Copy link
Owner

Choose a reason for hiding this comment

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

Sure, that makes sense. Pointing it to their master branch works for me, see cfcf23b Have a look if it works for you as well 😄

safe_grid_gym/envs/common/base_gridworld.py Show resolved Hide resolved
safe_grid_gym/envs/common/base_gridworld.py Show resolved Hide resolved
@david-lindner david-lindner mentioned this pull request Jan 11, 2019
@jvmncs
Copy link
Collaborator Author

jvmncs commented Jan 11, 2019

Closed by #14 :)

@jvmncs jvmncs closed this Jan 11, 2019
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

3 participants