30978fe9212db64ec49a80dad254d3edfc44f9b0,video2tfrecord.py,,video_file_to_ndarray,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,257

Before Change


            restart = False
            break
          else:
            video.fill(0)

        else:
          if frames_counter >= n_frames:
            restart = False

After Change


          frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
        // special case handling: opencv"s frame count sometimes differs from real frame count -> repeat
        if frame is None and frames_counter < n_frames:
          stop, _, _1, _2, _3, _4 = repeat_image_retrieval(
              cap, file_path, video, take_all_frames, steps, frame, prev_frame_none,
              frames_counter)
          if stop:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ferreirafabio/video2tfrecord
Commit Name: 30978fe9212db64ec49a80dad254d3edfc44f9b0
Time: 2019-08-26
Author: ted_slesinski@epam.com
File Name: video2tfrecord.py
Class Name:
Method Name: video_file_to_ndarray


Project Name: bashtage/linearmodels
Commit Name: 3b7c9ec865c02888620cdf215e61c616e1dcc7a2
Time: 2021-01-06
Author: kevin.k.sheppard@gmail.com
File Name: linearmodels/tests/iv/test_model.py
Class Name:
Method Name: data


Project Name: scipy/scipy
Commit Name: bc889006b64e63457d81a496122463c57998f218
Time: 2015-01-17
Author: argriffi@ncsu.edu
File Name: scipy/sparse/linalg/dsolve/linsolve.py
Class Name:
Method Name: spsolve