mmsegmentation/mmseg/utils
Wencheng Wu 8dae9465a6
[Feature] Add `gt_edge_map` field. (#2466)
## Motivation

The motivation of this PR is to add `gt_edge_map` field to support
boundary loss.

## Modification

- GenerateEdge
Modify `gt_edge` field to `gt_edge_map`.

- PackSegInputs
Add `gt_edge_map` to data_sample.

- stack_batch
Pad `gt_edge_map` to max_shape.

## BC-breaking (Optional)

No

## Use cases (Optional)

Reference `GenerateEdge`.
2023-01-11 11:51:29 +08:00
..
__init__.py CodeCamp #140 [New] [Feature] Add synapse dataset and data augmentation in dev-1.x. (#2432) 2023-01-06 16:14:54 +08:00
class_names.py CodeCamp #140 [New] [Feature] Add synapse dataset and data augmentation in dev-1.x. (#2432) 2023-01-06 16:14:54 +08:00
collect_env.py [Refactor] Add pyupgrade pre-commit hook (#2078) 2022-09-19 14:06:29 +08:00
io.py [Feature] Add BioMedical data loading (#2176) 2022-10-18 16:30:08 +08:00
misc.py [Feature] Add `gt_edge_map` field. (#2466) 2023-01-11 11:51:29 +08:00
set_env.py rename data to structures (#1854) 2022-08-19 20:50:02 +08:00
typing.py rename data to structures (#1854) 2022-08-19 20:50:02 +08:00