-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
simplify list_data_collate
and collate_meta_tensor
using collate
#5917
Comments
list_data_collate
and collate_meta_tensor
using list_data_collate
and collate_meta_tensor
using collate
It may also affect this feature request #5909? |
It would be cool if in this contribution, the
|
Hi @wyli , Could you please help double confirm it? Thanks in advance. |
created an additional feature request to make sure the requirement tracked |
Signed-off-by: KumoLiu <yunl@nvidia.com>
Fixes #5917 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] 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 --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: KumoLiu <yunl@nvidia.com> Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Co-authored-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
the generic
collate
API is implemented in pytorchpytorch/pytorch#85748
probably the monai helper functions could be simplified:
MONAI/monai/data/utils.py
Lines 448 to 451 in 50c3f32
MONAI/monai/data/utils.py
Lines 427 to 430 in 50c3f32
The text was updated successfully, but these errors were encountered: