The way I fixed that snipped of code is by removing the ds_tfms=get_transforms() argument. However, I don’t consider this resolved as it doesn’t seem there’s any way to change the type expected by this function passed to ds_tfms.