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

nn.Identity() Impact model accuracy #1247

Open
mi-luo opened this issue Jul 13, 2023 · 0 comments
Open

nn.Identity() Impact model accuracy #1247

mi-luo opened this issue Jul 13, 2023 · 0 comments

Comments

@mi-luo
Copy link

mi-luo commented Jul 13, 2023

I try to add a Identity like this :
class Iden(nn.Module): def __init__(self, c1, c2): super(Iden, self).__init__() self.conv = nn.Identity() def forward(self, x): x = self.conv(x) return x
it's just add a placehoder, In theory, it will not affect the accuracy of the model, but In our experiment, it greatly affected the accuracy of the model。 model mAE score was 2.14e-05 but got 0.0095 when we dont add the nn.Identity on the first epoch

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