You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey!
Is it mandatory to supply the alpha mask for embedding target images? Masking the entire target image with np.ones does not result in a good accuracy for me. Am I missing something?
# prep a white maskbinary_mask=np.ones((336, 336), dtype=np.uint8)
alpha=mask_transform((binary_mask*255))
alpha=alpha.cuda().unsqueeze(dim=0)
# extract featureswithtorch.no_grad():
target_image_features=model.encode_image(target_image, alpha)
The text was updated successfully, but these errors were encountered:
Hey!
Is it mandatory to supply the alpha mask for embedding target images? Masking the entire target image with
np.ones
does not result in a good accuracy for me. Am I missing something?The text was updated successfully, but these errors were encountered: