0af8eb6aa9c1b40e6805fd3dd84b65d101cb55f8,kornia/geometry/transform/imgwarp.py,,warp_perspective,#Any#Any#Any#Any#Any#Any#,41

Before Change


       See a working example `here <https://kornia.readthedocs.io/en/latest/
       tutorials/warp_perspective.html>`_.
    
    if not torch.is_tensor(src):
        raise TypeError("Input src type is not a torch.Tensor. Got {}"
                        .format(type(src)))

    if not torch.is_tensor(M):
        raise TypeError("Input M type is not a torch.Tensor. Got {}"
                        .format(type(M)))

After Change


       See a working example `here <https://kornia.readthedocs.io/en/latest/
       tutorials/warp_perspective.html>`_.
    
    check_is_tensor(src)
    check_is_tensor(M)

    if not len(src.shape) == 4:
        raise ValueError("Input src must be a BxCxHxW tensor. Got {}"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: arraiy/torchgeometry
Commit Name: 0af8eb6aa9c1b40e6805fd3dd84b65d101cb55f8
Time: 2020-06-09
Author: kuynzereb@gmail.com
File Name: kornia/geometry/transform/imgwarp.py
Class Name:
Method Name: warp_perspective


Project Name: arraiy/torchgeometry
Commit Name: 0af8eb6aa9c1b40e6805fd3dd84b65d101cb55f8
Time: 2020-06-09
Author: kuynzereb@gmail.com
File Name: kornia/geometry/transform/imgwarp.py
Class Name:
Method Name: warp_perspective


Project Name: arraiy/torchgeometry
Commit Name: 0af8eb6aa9c1b40e6805fd3dd84b65d101cb55f8
Time: 2020-06-09
Author: kuynzereb@gmail.com
File Name: kornia/geometry/warp/homography_warper.py
Class Name:
Method Name: normalize_homography


Project Name: arraiy/torchgeometry
Commit Name: 9a49b3c473fbbef6df1e0f245f8e99e36f6fec6a
Time: 2020-05-05
Author: dismaldenizen@gmail.com
File Name: kornia/geometry/dsnt.py
Class Name:
Method Name: _validate_batched_image_tensor_input