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

Adding Polaris consumer #181

Merged
merged 26 commits into from
Jan 27, 2022
Merged

Adding Polaris consumer #181

merged 26 commits into from
Jan 27, 2022

Conversation

elaubsch
Copy link
Member

Adding Polaris consumer and tests

@elaubsch elaubsch requested a review from msschwartz21 January 21, 2022 22:55
Copy link
Member

@msschwartz21 msschwartz21 left a comment

Choose a reason for hiding this comment

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

I left some comments for you to look at, but my big picture concern is to take a second look at the assumptions regarding data shape in PolarisConsumer._consume. My impression is that you are assuming that you are going to get a 2d image with a batch dimension added by get_image. Is that assertion enforced somewhere else in the code? Have you tried uploading data with non-standard dimensions to see how its tolerated?

Dockerfile Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
@elaubsch elaubsch requested a review from msschwartz21 January 26, 2022 21:43
Copy link
Member

@msschwartz21 msschwartz21 left a comment

Choose a reason for hiding this comment

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

This is really close! Thanks for being so patient with all the questions and double-checks. Mostly what is left here are style-related comments, but I'm essentially ready to approve.

Dockerfile Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Outdated Show resolved Hide resolved
redis_consumer/consumers/polaris_consumer.py Show resolved Hide resolved
@msschwartz21 msschwartz21 added the enhancement New feature or request label Jan 27, 2022
@elaubsch elaubsch requested a review from msschwartz21 January 27, 2022 01:26
@elaubsch elaubsch merged commit cfb3cc2 into master Jan 27, 2022
@msschwartz21 msschwartz21 deleted the polaris-consumer branch January 27, 2022 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants