script/generate_testing_list.py [12:34]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    f = open(src_list, 'r')
    head_cached_video_prefix = f.readline()
    head_cached_txt_list = f.readline()
    head_cached_check_video = f.readline()
    lines = f.readlines() # list context
    f.close()

    # decode list
    video_list = []
    for line in lines:
        v_id, label, video_subpath, frame_count, check_video = line.split()
        video_list.append([int(v_id), int(label), video_subpath, \
                                int(frame_count), bool(int(check_video))])

    # write new list
    f = open(dst_list, 'w')
    f.write(head_cached_video_prefix)
    f.write(head_cached_txt_list)
    f.write(head_cached_check_video.replace("\n",""))

    # list context
    for i, info in enumerate(video_list):
        frame_count_i = info[3]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



script/generate_testing_list.py [45:67]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    f = open(src_list, 'r')
    head_cached_video_prefix = f.readline()
    head_cached_txt_list = f.readline()
    head_cached_check_video = f.readline()
    lines = f.readlines() # list context
    f.close()

    # decode list
    video_list = []
    for line in lines:
        v_id, label, video_subpath, frame_count, check_video = line.split()
        video_list.append([int(v_id), int(label), video_subpath, \
                                int(frame_count), bool(int(check_video))])

    # write new list
    f = open(dst_list, 'w')
    f.write(head_cached_video_prefix)
    f.write(head_cached_txt_list)
    f.write(head_cached_check_video.replace("\n",""))

    # list context
    for i, info in enumerate(video_list):
        frame_count_i = info[3]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



