Joaquin Anton

Results 47 comments of Joaquin Anton

The scale can be explicitly provided or implicit via `sizes` (as `size/original_size`). Perhaps the documentation could be clearer in that regard.

Closing this issue now. If you still need help, please reopen.

Currently, there's no way to get the crop anchor and shape from RandomResizedCrop. Could you explain why do you need the crop parameters after the image has been cropped already?...

You need to edit https://github.com/NVIDIA/DALI/blob/master/dali/operators/image/resize/random_resized_crop.h https://github.com/NVIDIA/DALI/blob/master/dali/operators/image/resize/random_resized_crop.cc https://github.com/NVIDIA/DALI/blob/master/dali/operators/image/resize/random_resized_crop.cu The operator already has a `crops_` member with the data you need, you just have to create two additional outputs to the operator...

> It seems to me that the `idx` in [line 35](https://github.com/NVIDIA/DALI/blob/master/dali/operators/reader/file_reader_op.h#L35) is the unique id of each image I want to get. Is that correct? That is not correct. This...

I guess that we could support a use case like that by adding a basic operators that would expose the random crop region without cropping the image. The cropping window...

@rvandeghen This PR enables the feature that you need (`fn.random_crop_generator`): https://github.com/NVIDIA/DALI/pull/5304 You could then do: ``` encoded, _ = fn.readers.file(file_root=images_dir) shapes = fn.peek_image_shape(encoded) images = fn.decoders.image(encoded) start_B, shape_B = fn.random_crop_generator(shapes,...