Spaces:
Runtime error
Runtime error
File size: 174 Bytes
c4bc1f2 |
1 2 3 4 5 6 7 |
from makeitsports_bot.data.transforms import inversetransform
def inverse_transform_img(img):
inv_tensor = inversetransform(img)
return inv_tensor.permute(1, 2, 0)
|