Skip to content

Is the code consistent with the description in the paper? #5

Closed

Description

@ZYang2077

According to formula 5 and formula 6 in the paper, the class-specific residual attention (CSRA) feature f should be sent to
the classifier to obtain the final logits, but in your code, you use the f as the final logits, what's the difference?

Activity

  1. Kevinz-code commented on Sep 6, 2021

    @Kevinz-code
    Owner

    Hi, @AlphaPlusTT

    Actually there are no difference and the code is consistent with the paper.

    The logit for the i-th class can be expressed by Eq. (7) and Eq. (8) in the paper (in which ''x_k \cdot m_i'' can be replaced by s_k^i ), so the form of the second term of Eq. (8) is equal to the line 26 at "pipeline/csra.py''.

    Best,
    Authors

  2. ZYang2077 commented on Sep 15, 2021

    @ZYang2077
    Author

    Thanks for your reply. I try to use your method for pedestrian attribute recognition task with dataset rapv2, but the CSRA dose not work. Do you have any suggestions?

  3. abhigoku10 commented on Sep 16, 2021

    @abhigoku10

    @AlphaPlusTT i am also trying the same on PETA dataset and facing error , what error are you facing ? @Kevinz-code pls do share ur thoughts

  4. Kevinz-code commented on Sep 17, 2021

    @Kevinz-code
    Owner

    @abhigoku10 @AlphaPlusTT
    Thanks for reading.

    1. Actually we didn't run CSRA model on rapv2 and PETA, which weren't the popular multi-label recognition datasets in relevant literatures.

    2. We are not sure what "error" or "does not work" in your own implementation. Say, does the improvement of CSRA is low in comparison with the baseline method? It is advised that you provide the training details like model name, data aug, hyper-params, mAP, etc.

    3. In our implementation in Wider-Attribute, the improvement is consistent by using VIT models, you can try VIT models and use hyper-parameters similar to our code as well.

    Best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions