Skip to content

Additional metadata not getting passed through prediction #966

Description

@melisande-c

Describe the bug

In both the N2VModule and the CAREModule the additional_metadata field in ImageRegionData is getting replaced with an empty dict in predict_step. Currently this field contains the zarr chunk size and shard size which means this won't be preserved when writing predictions to zarr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions