Open YJonmo opened 1 week ago
Hi @YJonmo,
you need to pass the blur_size
without wrapping it in a Python list:
masks = fn.gaussian_blur(masks, window_size=blur_size)
Also all named arguments (like the window_size
) need to be located on CPU, as described in our doc: https://docs.nvidia.com/deeplearning/dali/main-user-guide/docs/pipeline.html#id2
Such DataNode needs to be prepared on CPU, as you can't move back from GPU to CPU - we are currently working on lifting this limitation.
Describe the question.
Hi there,
I am new to DALI.
I am trying to decide on the window_size based on the content of the image and then apply Gaussian Blur. But the fn.gaussian_blur does not accept the GPU input and masks is a GPU TensorList.
Help please.
Check for duplicates