-
Notifications
You must be signed in to change notification settings - Fork 6
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
SiamFC with pretrained would run slower and slower #2
Comments
huuuuusy
added a commit
that referenced
this issue
Jun 20, 2022
Thanks a lot; I have updated the codes based on your suggestion. |
Hi! |
in rtx3090, siamfc reaches 123fps in val dataset in my experiments.
…---Original---
From: ***@***.***>
Date: Wed, Jun 22, 2022 15:31 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [huuuuusy/videocube-toolkit] SiamFC with pretrained would runslower and slower (Issue #2)
Hi!
How about the test FPS after modify the code?
It takes me a few days to test the entire dataset.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE and CAUSE:
we find that when using SiamFC with pretrained model in this toolkit, the code would get slower and slower (from <1 second to even > 2 minutes per sample). When using SiamFC without pretraining, we did not find this issue.
Then we find out that is because the SiamFC with pretrained predict a bad center: the center get out of the image and fly far and far way, which makes the function
siamfc.py: TrackerSiamFC._crop_and_resize
run slower and slower.SOLUTION:
we just add some code in
siamfc.py: TrackerSiamFC.update
to restrict the center within (-2height, 2height) x (-2width, 2width) and solve this issueThe text was updated successfully, but these errors were encountered: