-
Notifications
You must be signed in to change notification settings - Fork 236
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
Point Tracking dataset.py crashes while iterating through the dataset #263
Comments
I'm not sure I understand your setup. Is this the error that you get without changes, or do your changes trigger this issue? Why did you need to override _get_dim in tensorflow graphics? Are there any configurations that work (e.g. does it work with random cropping)? I'm traveling for the next 10 days and have extremely limited time to debug. The more specific you can be about the exact changes that triggered the error, the better. |
I think I've found the root cause of this error: it occurs when MAX_SEG_ID is smaller than the largest segment id in the image. Therefore, the solution is to set MAX_SEG_ID higher: 25 seems to work for me. Hopefully this fixes the issue for you. |
Yep, this seems to work well. It looks like when the MAX_SEG_ID is too small it's trying to sample a negative amount of points which crashes the script. |
Convert constants to params for more configurable point tracking. Also fixes #263
Hello, I've noticed that the dataset.py file for point tracking (https://github.com/google-research/kubric/blob/main/challenges/point_tracking/dataset.py) throws errors on my end as it's iterating through the dataset. I have made the following changes to run the file:
The script crashes with
Any help or pointers to resolve this issue would be much appreciated. Thanks!
The text was updated successfully, but these errors were encountered: