775f58f3ff3802d484cd74564ce1496ddfbe11fc,kornia/augmentation/augmentation.py,RandomVerticalFlip,forward,#RandomVerticalFlip#Any#Any#,144

Before Change


    def forward(self, input: UnionType, params: Optional[Dict[str, torch.Tensor]] = None) -> UnionType:  // type: ignore
        if params is None:
            batch_size = self.infer_batch_size(input)
            params = self.get_params(batch_size, self.p)
        return super().forward(input, params)


class ColorJitter(AugmentationBase):

After Change


    def forward(self, input: UnionType, params: Optional[Dict[str, torch.Tensor]] = None) -> UnionType:  // type: ignore
        if params is None:
            batch_size = self.infer_batch_size(input)
            self.set_params(batch_size, self.p)
        return super().forward(input, self.params)


class ColorJitter(AugmentationBase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 5

Instances


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomVerticalFlip
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 6a80b270bec4caed5cc1d95a0975a7ac0a0a7d85
Time: 2020-01-27
Author: edgar.riba@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomRotation
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: ColorJitter
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomHorizontalFlip
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomPerspective
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomGrayscale
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomAffine
Method Name: forward


Project Name: arraiy/torchgeometry
Commit Name: 775f58f3ff3802d484cd74564ce1496ddfbe11fc
Time: 2020-01-26
Author: diegovd0296@gmail.com
File Name: kornia/augmentation/augmentation.py
Class Name: RandomRotation
Method Name: forward