Skip to content

Add support to avoid deepcopy in CacheDataset #3000

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
Currently, we always deepcopy the cache content for every epoch in CacheDataset, actually it's not necessary for multi-processing DataLoader or the random transforms don't change the cache data at all.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions