Shortcuts

Collect

class mmcls.datasets.transforms.Collect(keys)[source]

Collect and only reserve the specified fields.

Required Keys:

  • *keys

Deleted Keys:

All keys except those in the argument *keys.

Parameters

keys (Sequence[str]) – The keys of the fields to be collected.

Read the Docs v: 1.x
Versions
master
latest
1.x
dev-1.x
Downloads
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.