temporal-shift-module icon indicating copy to clipboard operation
temporal-shift-module copied to clipboard

What should be passed to `test_file` ?

Open ysl208 opened this issue 5 years ago • 0 comments

I would like to save the result but when I pass in --csv_file results.csv it errors that test_file_list[0] is None.

If I pass in --test_file test_videofolder.txt then it errors on line 302 at test_models.py: assert len(vid_names) == len(video_pred).

After digging in the code, it seems that video_pred is the number of rows in test_file that have the second value >=3 while vid_names is just all number of rows in test_file, which don't match:

vid_names: 17463 - video_pred: 9308
Traceback (most recent call last):
  File "test_models.py", line 302, in <module>
    assert len(vid_names) == len(video_pred)
AssertionError

Am I doing something wrong? What is supposed to be passed as test_file?

ysl208 avatar Sep 15 '20 10:09 ysl208