-
Notifications
You must be signed in to change notification settings - Fork 19
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
problem of the model. #8
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@seongmin-kye Hello, The full connection layer in the model is not defined at initialization time:
meta-SR/model/resnet_256.py
Line 157 in b4c1ea1
In Youngmoon Jung's repo, I noticed that in similar model code, he defined
self.fc
, and I guess you and Youngmoon Jung are from the same lab, so did you forget to define it here?https://github.com/jymsuper/SpeakerRecognition_tutorial/blob/6dce64657632660a791e25624e4257c53c7257d6/model/resnet.py#L117
And in this case, the
self.weight
defined in the initialization is not used in the forward, where includesnum_classes
.meta-SR/model/model.py
Line 31 in b4c1ea1
So I could use any number of
n_classes
in testing and have poor performance:meta-SR/EER_full.py
Line 37 in b4c1ea1
Is there anything wrong with what I mentioned?
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: