SmartCacheDatset does not see the whole train data when cache_rate is less than 1 #6820
-
Thank you for the great platform you developed. after this change, if the chach_rate is less than one (e.g., 0.1) the training loop only sees .1 of the cases. this problem does not exist with CacheDataset. Because this is the exact code of one of the tutorials, I did not copy my code here. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @YazdanGit, thanks for your interest here. Lines 936 to 957 in 6f5cea3 (Convert to discussion for now, feel free to create another one if you still have some issues.) |
Beta Was this translation helpful? Give feedback.
Hi @YazdanGit, thanks for your interest here.
That, I believe, is the purpose of this dataset.
MONAI/monai/data/dataset.py
Lines 936 to 957 in 6f5cea3