SpaTracker icon indicating copy to clipboard operation
SpaTracker copied to clipboard

Triggering torch.isnan(coords).any()

Open Jafonso-sudo opened this issue 1 year ago • 5 comments

Hello,

On seemingly larger inputs, I seem to trigger the condition in line 520 of spatracker.py (in the forward_iteration function). I imagine you have encountered it too for the condition to be there. Do you have any idea what triggers it and how to fix it?

Thanks in advance!

Jafonso-sudo avatar Oct 30 '24 11:10 Jafonso-sudo

@Jafonso-sudo @henry123-boy Hello, I've encountered the similar issue, which seems to happen randomly. Have you come up with any ideas?

zhangzjjjjjj avatar Nov 01 '24 15:11 zhangzjjjjjj

@Jafonso-sudo @zhangzjjjjjj Hello, I've encountered the similar issue, which seems to happen randomly. Have you come up with any ideas?

qinghew avatar Nov 27 '24 03:11 qinghew

Unfortunately I gave up and decided to use CoTracker 3 when it was released. It's really unfortunate since the problem I'm applying it to is inherently 3D, so I am sure SpatialTracker could have been beneficial :(

Jafonso-sudo avatar Dec 04 '24 14:12 Jafonso-sudo

I sincerely apologize for being extremely busy over the past few months. Could someone kindly provide a video sample where the NAN issue occurs?

henry123-boy avatar Dec 04 '24 14:12 henry123-boy

Hey @henry123-boy, no need to apologize at all, you owe as nothing. I'll try to see if I have time to try and setup SpatialTracker again in the next few days and get you a sample. Though, I imagine someone on your team encountered the same problem since the breakpoint condition is already pushed to the repository.

Jafonso-sudo avatar Dec 12 '24 09:12 Jafonso-sudo