Replies: 1 comment
-
After my experiment, I found that with_transform is much faster than map when I have a powerful cpu |
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
-
Currently my batchsize is 100 and each sample contains three images. Do I need to change write_batch_size in datasets.map? How should I estimate this value? I specified DEFAULT_WRITE_BATCH_SIZE=100 in the constructor of the bulider class in the my_dataset.py script. Will it be the default write_batch_size=1000 with datasets.map?
Beta Was this translation helpful? Give feedback.
All reactions