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

Normalization #1

Open
AVCarreiro opened this issue Feb 19, 2019 · 0 comments
Open

Normalization #1

AVCarreiro opened this issue Feb 19, 2019 · 0 comments

Comments

@AVCarreiro
Copy link

AVCarreiro commented Feb 19, 2019

Hello, first of all thank you for sharing your work!

I was testing and was finding it was really sensitive to the parameters (and that ones would influence each other's choice severely). So I start looking at the code together with the paper and I found something different: the normalization

You seem to normalize the tracklets (both position and velocity) with:
normalize = alpha * 2 + beta * 2

then passing these normalized tracklets to prepare_quick_shift.
I experimented by doing the normalization individually for position and velocity inside this last function

dist_p = np.linalg.norm(p[i] - p[neighbors], axis=1) / alpha
dist_v = np.linalg.norm(v[i] - v[neighbors], axis=1) / beta

And found it to be much more robust, even when changing scenarios.

I'd like to know why you did such normalization, maybe I'm missing something... Thank you again!

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
@AVCarreiro and others