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

Hardcoded pyramid_levels causing runtime error with stride customization #71

Open
hanoglu opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@hanoglu
Copy link

hanoglu commented Feb 15, 2024

There is no option in the training code to change the stride variable. Apparently, stride depends on pyramid_levels value. But this value is
hardcoded in the line
self.anchor_points = AnchorPoints(pyramid_levels=[3,], row=row, line=line)
and in case it is changed, it gives this runtime error;
RuntimeError: The size of tensor a (1024) must match the size of tensor b (256) at non-singleton dimension
at
output_coord = regression + anchor_points

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