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

Don't load the pixel, cell, and neighborhood FOVs in batches for mask generation #816

Merged
merged 11 commits into from
Nov 16, 2022

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

Closes #815. Resolves an issue with variable-sized images using the legacy batch loading technique for mask generation.

How did you implement your changes

Implement a for loop to generate these instead of using one load_imgs_from_dir call.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@alex-l-kong alex-l-kong self-assigned this Nov 9, 2022
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good, one notebook cleanup

@alex-l-kong
Copy link
Contributor Author

@ngreenwald

Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Looks good

@ngreenwald ngreenwald merged commit 29fe021 into main Nov 16, 2022
@ngreenwald ngreenwald deleted the patch_mask_gen branch November 16, 2022 19:21
@srivarra srivarra added the bug Something isn't working label Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't load in pixel and cell masks in batch
3 participants