There is no garantee that the frame_count is larger than the default setting 16, and it will report an error here.
File "/raid/home/taoli/exp/prp/datasets/predict_dataset.py", line 222, in loadcvvideo
start = np.random.randint(0, frame_count - count_need + 1);
File "mtrand.pyx", line 993, in mtrand.RandomState.randint
ValueError: low >= high
I think the logic is not strict.
In the predict_dataset.py, I list several lines in the following.
There is no garantee that the
frame_count
is larger than the default setting 16, and it will report an error here.When I add the following codes
It will print too many
reload
msg in the command line.