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

[rllib] CV2 to Skimage change #16841

Merged
merged 11 commits into from
Jul 22, 2021
Merged

Conversation

vakker
Copy link
Contributor

@vakker vakker commented Jul 2, 2021

Why are these changes needed?

This removes the OpenCV dependency, which makes installation simpler.
Should I also include skimage as a dependency for the RLlib build?

Related issue number

This is based on the discussion here.

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@richardliaw
Copy link
Contributor

Adding skimage as a dependecy for rllib sounds good!

@vakker
Copy link
Contributor Author

vakker commented Jul 7, 2021

@richardliaw where do I add it? Is it just python/requirements_rllib.txt?

@richardliaw
Copy link
Contributor

richardliaw commented Jul 7, 2021 via email

@richardliaw richardliaw changed the title CV2 to Skimage change [rllib] CV2 to Skimage change Jul 7, 2021
Copy link
Contributor

@richardliaw richardliaw 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 great! will wait for sven to approve and merge. Just left a couple small notes.

rllib/utils/images.py Show resolved Hide resolved
rllib/utils/images.py Outdated Show resolved Hide resolved
@vakker
Copy link
Contributor Author

vakker commented Jul 12, 2021

@richardliaw thanks, I added the debug message and type hints, let me know if that's not how you wanted them.

@richardliaw
Copy link
Contributor

richardliaw commented Jul 12, 2021 via email

@sven1977
Copy link
Contributor

Re-running tests after updating from master. ...

Copy link
Contributor

@sven1977 sven1977 left a comment

Choose a reason for hiding this comment

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

Looks all good now. Thanks for simplifying this @vakker !

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.

3 participants