Project-MONAI / Project-MONAI/MONAI

MeanEnsemble to accumulate results in-place

Open
#6,366 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

Describe the bug

https://github.com/Project-MONAI/MONAI/blob/825b8db9b20e0a85b2df327e3f4f23379fef7b2e/monai/transforms/post/array.py#L628-L636

the current implementation keeps all the predictions which take up unnecessary space compared with maintaining an output and updating it in-place.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read MeanEnsemble in monai/transforms/post/array.py around lines 628-636. Compare the current prediction accumulation with the requested in-place output update, and verify that the completed change no longer retains all predictions while preserving the ensemble result.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.