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
In class FeatureLoss(nn.Module) you import torch.nn.functional as F , and use F.normalize(inputs, mean, std) for standardization. However, the function normalize() in F is normalization with p-norm, rather than mena-std. Perhaps, import torchvision.transforms.functional as F is correct?
The text was updated successfully, but these errors were encountered:
Hi~ @sowmyay
In
class FeatureLoss(nn.Module)
youimport torch.nn.functional as F
, and useF.normalize(inputs, mean, std)
for standardization. However, the functionnormalize()
in F is normalization with p-norm, rather than mena-std. Perhaps,import torchvision.transforms.functional as F
is correct?The text was updated successfully, but these errors were encountered: