avril
07/18/2024, 6:29 PMimages column in my Daft df into proper pytorch tensors was pretty painful. I spent a few hours on this and had to get @jay to help me out in the end. Would be great to have some docs or a friendlier API for this :]avril
07/18/2024, 6:36 PMavril
07/18/2024, 6:58 PMClassifyImages to run directly on the image column instead of going through 2 steps of preprocessing and storing those in separate df columns I probably won't need later. is there a better way of using expressions here that I'm overlooking?jay
07/18/2024, 8:06 PM.image.torch_transform(my_transforms)
2. Baking in more of these transforms as Daft expressions: .image.center_crop().<http://image.to|image.to>_tensor().image.normalize()
3. A <http://Series.to|Series.to>_torch() function that returns a correctly batched tensor
a. We should probably also figure out our story around def ___array___ for numpy array conversion?avril
07/18/2024, 8:13 PMudf directly on the image col instead of having to preprocess into separate tensor and pytorch_tensor cols