brunorosilva
chore: change repo name
f1a0ba2
raw
history blame
172 Bytes
from img2art_search.data.transforms import inversetransform
def inverse_transform_img(img):
inv_tensor = inversetransform(img)
return inv_tensor.permute(1, 2, 0)