-
Notifications
You must be signed in to change notification settings - Fork 228
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
A question about the ”appearance code” #55
Comments
Hi @BoomShakaY
|
Thanks for your reply! I want to extract other kinds of feature based on ReID just like you, yes, I have labels and the class number is only 9, if I change the class_num straightly from 751 to 9, won't it deviate from the original intention? I just wondering if I add a classifier beside the f_netAB last two classifiers and use another loss to constrain it, will it seem to work well? I'm still trying because I'm a green hand in coding, by the way, thanks for your code again, it really helps a lot! |
@BoomShakaY |
Thanks for your code!
I have a question about how the loss Lprim constrains the encoder to extract the appearance code. If I want to change the loss to extract other kinds of features( eg. weather), where should I modify?
If I change Lprim , then the teacher model is unused.
I have seen in #40 , you said "
f
is the appearance code for image generation; We do not want the generation losses to updatef
. Thus, we use thedetach
here. In this way,f
is mainly updated via the re-id related losses."The re-id related losses including
CrossEntropyLoss
andKLDivLoss
, they are calculated between labels, so I'm confused.Thank you!
The text was updated successfully, but these errors were encountered: