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

I believe there are some bugs in the code #16

Open
z6491679 opened this issue Apr 9, 2020 · 1 comment
Open

I believe there are some bugs in the code #16

z6491679 opened this issue Apr 9, 2020 · 1 comment

Comments

@z6491679
Copy link

z6491679 commented Apr 9, 2020

in kcftracker.py:
209-213 should be to make sure self._tmpl_sz can be divisible by self.cell_size:
if(self._hogfeatures):
self._tmpl_sz[0] = int(self._tmpl_sz[0] / (2self.cell_size)) * 2self.cell_size + 2self.cell_size
self._tmpl_sz[1] = int(self._tmpl_sz[1] / (2
self.cell_size)) * 2self.cell_size + 2self.cell_size
else:
self._tmpl_sz[0] = int(self._tmpl_sz[0] / 2) * 2
self._tmpl_sz[1] = int(self._tmpl_sz[1] / 2) * 2

@zhishao
Copy link

zhishao commented May 8, 2020

u r right, 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

2 participants