Set_transform vs with_transform
In huggingface dataset, i found two ways of transformation.with_transformandset_transformWhat is the difference between two and which one to use in image classification
2022-07-13T11:49:35Z
Hi! The only difference is thatset_transformmodifies a dataset in-place andwith_transformreturns a new dataset with the specified transform. Which of these two approaches you want to use is up to you.