Apply transforms twice? #5769
Unanswered
luxunxiansheng
asked this question in
Q&A
Replies: 1 comment
-
Hi @luxunxiansheng, Not sure what you mean, you can use
You can also refer to this tutorial Hope it can help you, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there,
Suppose I have 100 image files and use the CacheDataset with a cache rate 0.5 and set it to the train laoder
When training , to get batchs like this:
for batch_data in tranin_Loader:
....
I notice that the line above is very slow. It seems to apply_transforms again besides constructing the cachedataset.
I missed something?
Thanks in advacne
Bin
Beta Was this translation helpful? Give feedback.
All reactions