Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about F.normalize() #1

Open
dawnlh opened this issue Oct 2, 2021 · 0 comments
Open

about F.normalize() #1

dawnlh opened this issue Oct 2, 2021 · 0 comments

Comments

@dawnlh
Copy link

dawnlh commented Oct 2, 2021

Hi~ @sowmyay

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant