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

the deployment problem of O.W, O.F #40

Open
Mr-Da-Yang opened this issue May 27, 2021 · 5 comments
Open

the deployment problem of O.W, O.F #40

Mr-Da-Yang opened this issue May 27, 2021 · 5 comments

Comments

@Mr-Da-Yang
Copy link

First of all thank you very much for your outstanding contribution!
In the paper, you have deployed O.M and O.F many times. I have been searching for a long time and have not found the deployment py file for deploying O.M and O.F. Can you give me some guidance?
best wishs

@young169
Copy link

First of all thank you very much for your outstanding contribution!
In the paper, you have deployed O.M and O.F many times. I have been searching for a long time and have not found the deployment py file for deploying O.M and O.F. Can you give me some guidance?
best wishs

I think it's in the torchreid/models/resnet.py for example. there is a 'ShallowCAM' imported from 'torchreid.components.shallow_cam'.
And have you run the training as well as testing both successfully?

@Mr-Da-Yang
Copy link
Author

  1. ShallowCAM is the attention module,O.M is a kind of regularization, which should appear in the process of network backpropagation, but it has not been found yet
  2. Currently not running this project

@shuaizzZ
Copy link

@Mr-Da-Yang
if not fixbase:
reg = regularizer(model) # ow
loss += reg
if not fixbase and args.use_of and epoch >= args.of_start_epoch:

        penalty = of_penalty(outputs)  # of
        loss += penalty

@Mr-Da-Yang
Copy link
Author

@Mr-Da-Yang
if not fixbase:
reg = regularizer(model) # ow
loss += reg
if not fixbase and args.use_of and epoch >= args.of_start_epoch:

        penalty = of_penalty(outputs)  # of
        loss += penalty

Thank you very much!
I get it.

@shuaizzZ
Copy link

@Mr-Da-Yang
方便交流一下吗,我也刚刚开始学习这篇文章,shuaizzz@yeah.net

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

3 participants