Skip to content

2794 Optimize the deepcopy of samples-crop transforms#2804

Merged
Nic-Ma merged 5 commits intoProject-MONAI:devfrom
Nic-Ma:2794-multi-threads-loader
Aug 19, 2021
Merged

2794 Optimize the deepcopy of samples-crop transforms#2804
Nic-Ma merged 5 commits intoProject-MONAI:devfrom
Nic-Ma:2794-multi-threads-loader

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Aug 19, 2021

Fixes #2794 .

Description

This PR enhanced the samples-crop transforms to avoid deep-copying the unnecessary foreground and background indices.

Status

Ready

Types of changes

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

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Aug 19, 2021

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) August 19, 2021 04:11
@wyli
Copy link
Copy Markdown
Contributor

wyli commented Aug 19, 2021

/build

@Nic-Ma Nic-Ma merged commit ce196e0 into Project-MONAI:dev Aug 19, 2021
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.

Add multi-threads support to samples crop

3 participants