CacheDataset and random transforms clarification #2608
-
Hi! I was going once again through the
Does it implies that Thanks in advance for your help :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @dianemarquette , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
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.