Hello guys !
I am working on a problem in which I have the coordinates to slice the image like [y, y+height, x, x+width]. So if if I have torch image obtained using
 img = Variable(img.cuda())

how can we slice the image to get that specific area of image [y:y+height, x:x+width] .
Thanks