8dcecebdfaad982f1815b6b87f49c17e03aac1b6,gluoncv/data/transforms/video.py,VideoMultiScaleCrop,forward,#VideoMultiScaleCrop#Any#,323

Before Change


        h, w, _ = clips[0].shape

        crop_size_pairs = self.fillCropSize(h, w)
        size_sel = random.randint(0, len(crop_size_pairs)-1)
        crop_height = crop_size_pairs[size_sel][0]
        crop_width = crop_size_pairs[size_sel][1]

        if self.fix_crop:

After Change


        h, w, _ = clips[0].shape

        crop_size_pairs = self.fillCropSize(self.scale_ratios, self.max_distort, h, w)
        size_sel = random.choice(crop_size_pairs)
        crop_height = size_sel[0]
        crop_width = size_sel[1]

        if self.fix_crop:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-cv
Commit Name: 8dcecebdfaad982f1815b6b87f49c17e03aac1b6
Time: 2020-04-23
Author: yizhu59@gmail.com
File Name: gluoncv/data/transforms/video.py
Class Name: VideoMultiScaleCrop
Method Name: forward


Project Name: scikit-image/scikit-image
Commit Name: db7e9c2b4ab6f7f9314a112107e1a5669392670d
Time: 2016-07-26
Author: juan.n@unimelb.edu.au
File Name: skimage/util/noise.py
Class Name:
Method Name: random_noise


Project Name: dmlc/gluon-cv
Commit Name: 8dcecebdfaad982f1815b6b87f49c17e03aac1b6
Time: 2020-04-23
Author: yizhu59@gmail.com
File Name: gluoncv/data/transforms/video.py
Class Name: VideoGroupTrainTransform
Method Name: forward