Thanks for your response. Can you please explain why this works: transform2 = pad_rotate_project ?
Especially since pad_rotate_project is a function with arguments, how come just mentioning the name of the function is enough to ensure the function is applied to each image in the dataset?