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

enhance mednist dataset #1466

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Conversation

rijobro
Copy link
Contributor

@rijobro rijobro commented Jan 19, 2021

Adds get_num_classes method to MedNISTDataset, and also stores the text associated with each label.

e.g.,

print(train_ds.get_num_classes())
print(train_ds[0]["class_name"])

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: Richard Brown <33289025+rijobro@users.noreply.github.com>
@rijobro rijobro requested review from wyli, ericspod and Nic-Ma January 19, 2021 11:42
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

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

thanks!

@wyli wyli merged commit 91cb8cd into Project-MONAI:master Jan 19, 2021
@rijobro rijobro deleted the enhance_mednistdataset branch January 19, 2021 16:52
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.

2 participants