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

temporal and roi_queue no use in inference phase? #5

Closed
laisimiao opened this issue Apr 18, 2023 · 2 comments
Closed

temporal and roi_queue no use in inference phase? #5

laisimiao opened this issue Apr 18, 2023 · 2 comments

Comments

@laisimiao
Copy link

No description provided.

@lizhou-cs
Copy link
Owner

I'm sorry I made a mistake while organizing the code. I have updated the new code.

if self.test_method == "JOINT":
if roi_length >= self.MAX_HIS_FRAME:
self.roi_queue = self.roi_queue[-self.MAX_HIS_FRAME + 1:]
roi_list = [self.template_roi_feature]
roi_list.extend(self.roi_queue)
temporal = torch.cat(roi_list, dim=-1)
with torch.no_grad():
out_dict = self.network.forward_test(self.text_dict, self.template_dict, search_patch, temporal)

@laisimiao
Copy link
Author

okay

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