Shortcuts

Collect

class mmpretrain.datasets.transforms.Collect(keys)[源代码]

收集并仅保留指定字段的数据

Required Keys:

  • *keys

Deleted Keys:

All keys except those in the argument *keys.

参数:

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

Read the Docs v: latest
Versions
latest
stable
mmcls-1.x
mmcls-0.x
dev
Downloads
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.