25f62d73db3a8caab5c290c7b8842d416c03f3ff,annotations/stims.py,VideoStim,__iter__,#VideoStim#,77

Before Change


                break
            yield VideoFrameStim(self, i, data=frame)
            i += 1
        self.clip.release()

    def annotate(self, annotators):
        period = 1. / self.fps
        timeline = Timeline(period=period)

After Change



    def __iter__(self):
         Frame iteration. 
        for i, f in enumerate(self.frames):
            yield VideoFrameStim(self, i, data=f)

    def annotate(self, annotators):
        period = 1. / self.fps
        timeline = Timeline(period=period)
        c = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tyarkoni/pliers
Commit Name: 25f62d73db3a8caab5c290c7b8842d416c03f3ff
Time: 2015-04-25
Author: tyarkoni@gmail.com
File Name: annotations/stims.py
Class Name: VideoStim
Method Name: __iter__


Project Name: Maluuba/nlg-eval
Commit Name: 9bfbbf636fb2a6184d470462545ad3868b1a8fc6
Time: 2018-07-03
Author: haschulz@microsoft.com
File Name: nlgeval/pycocoevalcap/meteor/meteor.py
Class Name: Meteor
Method Name: compute_score


Project Name: facebook/FAI-PEP
Commit Name: 20e169d51e180628b7af8149776f92ebb0c3b257
Time: 2018-03-05
Author: feisun@fb.com
File Name: benchmarking/git_driver.py
Class Name: ExecutablesBuilder
Method Name: _buildExecutables