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
It appears that the loop should be for item in range(row[2]-1, row[3]) instead of for item in range(row[2]-1, row[3]+1) since, at boundary cases (end of video file) it gives an error of invalid index. The segment seems to be increased by a size of one. Eg. if the values are starting frame = 1, end frame = 16 with window size = 16, the number of values written to res list are 17 instead of 16.
The text was updated successfully, but these errors were encountered:
scnn/demo/run_demo.py
Line 194 in ee05621
It appears that the loop should be
for item in range(row[2]-1, row[3])
instead offor item in range(row[2]-1, row[3]+1)
since, at boundary cases (end of video file) it gives an error of invalid index. The segment seems to be increased by a size of one. Eg. if the values are starting frame = 1, end frame = 16 with window size = 16, the number of values written tores
list are 17 instead of 16.The text was updated successfully, but these errors were encountered: