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

Example reader examples iterator indices #27

Closed
mrajchl opened this issue May 22, 2018 · 0 comments
Closed

Example reader examples iterator indices #27

mrajchl opened this issue May 22, 2018 · 0 comments
Assignees
Labels

Comments

@mrajchl
Copy link
Contributor

mrajchl commented May 22, 2018

In all example application readers, the examples iterator (e.g. https://github.com/DLTK/DLTK/blob/master/examples/applications/MRBrainS13_tissue_segmentation/reader.py#L87) ends at n_examples.

In cases where len(img) < n_examples, this produces an invalid index. It should be corrected for all application readers to what @pawni has pushed to the model zoo: https://github.com/DLTK/models/blob/master/Synapse_MultiAtlas_MICCAI2015_segmentation/reader.py#L53

@mrajchl mrajchl added the bug label May 22, 2018
@mrajchl mrajchl self-assigned this May 22, 2018
mrajchl pushed a commit that referenced this issue Jun 17, 2018
@mrajchl mrajchl closed this as completed Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant