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

Duplicate code in topdown_heatmap_simple_head.py #132

Open
abc5z7 opened this issue Apr 14, 2024 · 0 comments
Open

Duplicate code in topdown_heatmap_simple_head.py #132

abc5z7 opened this issue Apr 14, 2024 · 0 comments

Comments

@abc5z7
Copy link

abc5z7 commented Apr 14, 2024

for some reasons or just two repeated lines?
in mmpose/models/heads/topdown_heatmap_simple_head.py line 278

    def _transform_inputs(self, inputs):

        if not isinstance(inputs, list):
            if not isinstance(inputs, list):
                if self.upsample > 0:
                   ...
            return inputs

        ...
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