You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are processing the validation set of the REDS 120fps dataset (https://seungjunnah.github.io/Datasets/reds.html). For about half of the sequences there, we encounter a case in which the recursion in upsampling.utils.upsampler.Upsampler._upsample_adaptive does not terminate:
In the branch if num_bisections < 0: the computation of num_bisections might yield 0, such that recursion becomes infinite (because the recursive calls will hit exactly the same case again) and we either run into Python's recursion limit or run out of memory.
I have a very superficial understanding of this code, but my guess is that adding the following lines as the last instructions inside that if branch fixes the issue:
if num_bisections == 0:
return [image[0]], [(t0+t1)/2]
What do you think?
The text was updated successfully, but these errors were encountered:
Hello,
we are processing the validation set of the REDS 120fps dataset (https://seungjunnah.github.io/Datasets/reds.html). For about half of the sequences there, we encounter a case in which the recursion in
upsampling.utils.upsampler.Upsampler._upsample_adaptive
does not terminate:In the branch
if num_bisections < 0:
the computation ofnum_bisections
might yield0
, such that recursion becomes infinite (because the recursive calls will hit exactly the same case again) and we either run into Python's recursion limit or run out of memory.I have a very superficial understanding of this code, but my guess is that adding the following lines as the last instructions inside that
if
branch fixes the issue:What do you think?
The text was updated successfully, but these errors were encountered: