Closed dariodematties closed 3 years ago
Hi @dariodematties,
I suspect that is about grid_mask_tile
argument which expects int32 input while you provide float. By default, numpy uses float type. Can you make sure that the data provided by the external input to this argument is int32?
You are right @JanuszL ! Thanks so much for your patience
Hi there,
I am trying to use grid mask in my pipe
self.grid_mask = ops.GridMask(device='gpu')
I use some external inputs to feed the operation and then insidedefine_graph
images = self.grid_mask(images, angle=angle, shift_x=crop_pos_x, shift_y=crop_pos_y, ratio=grid_mask_ratio, tile=grid_mask_tile)
I receive the following errorAny Idea of what is happening here?
I am using the following container
pytorch_21.04-py3.sif
withmpi4py
addedThanks!
Dario