smartcache raises a value error when a large cache_num is provided:
|
if self.cache_num >= len(data): |
|
raise ValueError("cache_num must be smaller than dataset length to support replacement.") |
in this case itd be great to change this to a warning and continue working as a regular CacheDataset
smartcache raises a value error when a large
cache_numis provided:MONAI/monai/data/dataset.py
Lines 603 to 604 in 97ff1e0
in this case itd be great to change this to a warning and continue working as a regular CacheDataset