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
How to take the prediction mask of each target in the previous frame? #64
Comments
You're right. |
|
No. I don't understand what exactly you mean but you can always use indexing to extract whatever you need. |
@hkchengrex Is that how I take the predictive mask of all the targets? |
Yes. |
Ok, thank you very much! |
@hkchengrex
So I want to code mask, I have to, right? |
1 similar comment
@hkchengrex
So I want to code mask, I have to, right? |
Whether to use unsqueeze depends on your needs. |
@hkchengrex Because two targets are fixed during training, prev_mask[:,0:1] and prev_mask[:,1:2] can be used to take the masks of the two targets in the previous frame. However, the number of targets during testing is not fixed. How to take the prediction mask of each target in the previous frame?
for i, oi in enumerate(self.enabled_obj):
self.prob[self.enabled_obj,ti-1].cuda()
The text was updated successfully, but these errors were encountered: