VisionData.copy#

VisionData.copy(reshuffle_data: bool = False, batch_loader=None) VD[source]#

Create new copy of the vision data object with clean cache.

Parameters
reshuffle_data: bool, default=False

If True and the batch loader is of known type that can be shuffled, it will be shuffled.

batch_loader:

If not None, the batch loader of the new object will be set to this value.

Returns
VisionData

A copy of the vision data object with clean cache.