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

Dimension ordering in 'models/context_cluster.py' #36

Open
ujaejoon opened this issue Apr 23, 2024 · 0 comments
Open

Dimension ordering in 'models/context_cluster.py' #36

ujaejoon opened this issue Apr 23, 2024 · 0 comments

Comments

@ujaejoon
Copy link

Hi,

I've been examining the models/context_cluster.py file in your GitHub repository and observed that the ordering of the height (H) and width (W) dimensions in some tensor operations, such as adaptive pooling (nn.AdaptiveAvgPool2d) and data rearrangement (rearrange), seems unconventional. Although the input images are square, which might not cause practical issues, I am curious to know whether this ordering is intentional for algorithmic or optimization reasons, or if it was an error in implementation.

Thank you.

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