Skip to content
Discussion options

You must be logged in to vote

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

At any time, the cache pool only keeps a subset of the whole dataset. In each epoch, only the items
in the cache are used for training. This ensures that data needed for training is readily available,
keeping GPU resources busy. Note that cached items may still have to go through a non-deterministic
transform sequence before being fed to GPU. At the same time, another thread is preparing replacement
items by applying the transform sequence to items not in cache. Once one epoch is completed, Smart
C…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YazdanSalimi
Comment options

Answer selected by wyli
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
Converted from issue

This discussion was converted from issue #6818 on August 04, 2023 03:05.