pytracking icon indicating copy to clipboard operation
pytracking copied to clipboard

Can tomp process multiple images at once as batches?

Open ninono12345 opened this issue 2 years ago • 0 comments

Hello @martin-danelljan I want to ask you for advice, since you have been more active.

Is it possible so that for example if I'm tracking 4 objects at once, that I could send into track a tensor with 4 batches, instead, so tracking woud do all computations for all 4 objects at once, instead passing through neural networks 4 separate times?

I tried just to simulate 2 frame tracking to do torch.cat with 2 image tensors (the same frame to be tracked 2 times, next time I would use different ones), didn't work... Tried to torch.cat inside classify_target all variables that enter neural networks, also didn't work... Now I'm studying the algorithm, but I wanted to ask you in theory is this possible, or would it be too much work?

Thank you

ninono12345 avatar Jan 24 '24 21:01 ninono12345