Skip to content

CacheDataset and random transforms clarification #2608

Answered by Nic-Ma
dianemarquette asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dianemarquette ,

Thanks for your interest here.
Usually, we have several non-random transforms + random transforms in the transform-chain, CacheDataset will cache the consistent result of the transforms until the first random transform, then reuse the cache content for every epoch.
You can check the tutorial for more details:
https://github.com/Project-MONAI/tutorials/blob/master/acceleration/dataset_type_performance.ipynb

Thanks.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dianemarquette
Comment options

@Nic-Ma
Comment options

Answer selected by dianemarquette
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants