Repository Analysis

kornia/kornia

🐍 Geometric Computer Vision Library for Spatial AI

28.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kornia/kornia, a Python project with 11,274 GitHub stars. SynthScan v2.0 examined 178,804 lines of code across 817 source files, recording 3432 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 28.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

28.7
Adjusted Score
28.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.3K
Stars
Python
Language
178.8K
Lines of Code
817
Files
3.4K
Pattern Hits
2026-07-14
Scan Date
0.32
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 64HIGH 195MEDIUM 187LOW 2986

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3432 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Unused Imports1083 hits · 892 pts
SeverityFileLineSnippetContext
LOWkornia/__init__.py28CODE
LOWkornia/__init__.py29CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py32CODE
LOWkornia/__init__.py51CODE
LOWkornia/__init__.py51CODE
LOWkornia/__init__.py51CODE
LOWkornia/__init__.py54CODE
LOWkornia/filters/kernels_geometry.py18CODE
LOWkornia/filters/__init__.py23CODE
LOWkornia/filters/__init__.py25CODE
LOWkornia/filters/__init__.py25CODE
LOWkornia/filters/__init__.py25CODE
LOWkornia/filters/__init__.py25CODE
LOWkornia/filters/__init__.py26CODE
LOWkornia/filters/__init__.py26CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py27CODE
LOWkornia/filters/__init__.py35CODE
LOWkornia/filters/__init__.py35CODE
LOWkornia/filters/__init__.py36CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py37CODE
LOWkornia/filters/__init__.py38CODE
LOWkornia/filters/__init__.py38CODE
LOWkornia/filters/__init__.py38CODE
LOWkornia/filters/__init__.py39CODE
LOWkornia/filters/__init__.py39CODE
LOWkornia/filters/__init__.py40CODE
LOWkornia/filters/__init__.py40CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
1023 more matches not shown…
Over-Commented Block799 hits · 796 pts
SeverityFileLineSnippetContext
LOWconftest.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWpyproject.toml141 # "FA", # flake8-future-annotationsCOMMENT
LOWpyproject.toml381invalid-return-type = "ignore"COMMENT
LOWkornia/config.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/constants.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/kernels_geometry.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/laplacian.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/guided.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/canny.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/in_range.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/sobel.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/dissolving.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/blur.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/motion.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/dexined.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/bilateral.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/kernels.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/median.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/otsu_thresholding.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/blur_pool.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/filter.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/unsharp.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/filters/gaussian.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/average_meter.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/ssim.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/endpoint_error.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/mean_iou.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/mean_average_precision.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/psnr.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/ssim3d.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/disparity.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/accuracy.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/metrics/confusion_matrix.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/hausdorff.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/focal.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/mutual_information.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/charbonnier.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/ssim.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/total_variation.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/geman_mcclure.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/ms_ssim.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/dice.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/tversky.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/cauchy.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/divergence.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/psnr.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/one_hot.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/ssim3d.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/lovasz_softmax.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/depth_smooth.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/lovasz_hinge.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/welsch.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/losses/_utils.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/transpiler/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/transpiler/transpiler.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWkornia/augmentation/__init__.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
739 more matches not shown…
Hyper-Verbose Identifiers739 hits · 732 pts
SeverityFileLineSnippetContext
LOWconftest.py165def pytest_collection_modifyitems(config, items):CODE
LOWconftest.py432def _is_subprocess_isolated_test(item) -> bool:CODE
LOWconftest.py548def skip_half_precision_on_cuda(request):CODE
LOWkornia/__init__.py124def get_cuda_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOWkornia/__init__.py130def get_mps_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOWkornia/__init__.py136def get_cuda_or_mps_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOWkornia/filters/guided.py30def _preprocess_fast_guided_blur(CODE
LOWkornia/filters/guided.py45def _guided_blur_grayscale_guidance(CODE
LOWkornia/filters/guided.py84def _guided_blur_multichannel_guidance(CODE
LOWkornia/metrics/disparity.py67def mean_absolute_disparity_error(CODE
LOWkornia/metrics/disparity.py119def root_mean_squared_disparity_error(STRING
LOWkornia/losses/focal.py211def binary_focal_loss_with_logits(STRING
LOWkornia/losses/mutual_information.py64def truncated_gaussian_kernel(x: torch.Tensor, window_radius: float = 1.0) -> torch.Tensor:CODE
LOWkornia/losses/mutual_information.py113def _joint_histogram_to_entropies(joint_histogram: torch.Tensor, eps: float = 1e-8) -> torch.Tensor:CODE
LOWkornia/losses/mutual_information.py771def normalized_mutual_information_loss(CODE
LOWkornia/losses/depth_smooth.py39def inverse_depth_smoothness_loss(idepth: torch.Tensor, image: torch.Tensor) -> torch.Tensor:CODE
LOWkornia/augmentation/base.py40def _apply_transform_unimplemented(self: nn.Module, *input: Any) -> torch.Tensor:CODE
LOWkornia/augmentation/base.py196 def _process_kwargs_to_params_and_flags(CODE
LOWkornia/augmentation/base.py535 def apply_non_transform_keypoint(CODE
LOWkornia/augmentation/base.py555 def apply_non_transform_class(CODE
LOWkornia/augmentation/_2d/base.py99 def generate_transformation_matrix(CODE
LOWkornia/augmentation/_2d/intensity/base.py60 def apply_non_transform_boxes(STRING
LOWkornia/augmentation/_2d/intensity/base.py70 def apply_non_transform_keypoint(STRING
LOWkornia/augmentation/_2d/intensity/base.py80 def apply_non_transform_class(STRING
LOWkornia/augmentation/_2d/geometric/base.py53 def compute_inverse_transformation(self, transform: torch.Tensor) -> torch.Tensor:CODE
LOWkornia/augmentation/_2d/geometric/base.py57 def get_transformation_matrix(CODE
LOWkornia/augmentation/_2d/geometric/base.py164 def apply_non_transform_keypoint(CODE
LOWkornia/augmentation/_2d/geometric/base.py189 def apply_non_transform_class(CODE
LOWkornia/augmentation/_2d/mix/mixup.py117 def apply_non_transform_class(STRING
LOWkornia/augmentation/_2d/mix/cutmix.py142 def apply_non_transform_class(STRING
LOWkornia/augmentation/_2d/mix/base.py186 def apply_non_transform_boxes(self, input: Boxes, params: Dict[str, torch.Tensor], flags: Dict[str, Any]) -> Boxes:CODE
LOWkornia/augmentation/_2d/mix/base.py192 def apply_non_transform_keypoint(CODE
LOWkornia/augmentation/_2d/mix/base.py202 def apply_non_transform_class(CODE
LOWkornia/augmentation/auto/base.py44 def _update_transform_matrix_for_valid_op(self, module: PolicySequential) -> None: # type: ignoreCODE
LOWkornia/augmentation/auto/base.py56 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/base.py71 def get_transformation_matrix(CODE
LOWkornia/augmentation/auto/autoaugment/autoaugment.py158 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/rand_augment/rand_augment.py106 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/operations/policy.py45 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/auto/operations/policy.py73 def get_transformation_matrix(CODE
LOW…a/augmentation/auto/trivial_augment/trivial_augment.py81 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/utils/param_validation.py23def _check_positive_int_or_traced(value: Any, name: str) -> None:CODE
LOWkornia/augmentation/utils/helpers.py103def _transform_input_by_shape(STRING
LOWkornia/augmentation/container/augment.py292 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/ops.py46 def get_instance_module_param(cls, param: ParamItem) -> Dict[str, torch.Tensor]:CODE
LOWkornia/augmentation/container/ops.py65 def get_sequential_module_param(cls, param: ParamItem) -> List[ParamItem]:CODE
LOWkornia/augmentation/container/ops.py253def make_input_only_sequential(module: "K.container.ImageSequentialBase") -> Callable[P, torch.Tensor]:CODE
LOWkornia/augmentation/container/video.py144 def __infer_channel_exclusive_batch_shape__(self, batch_shape: torch.Size, chennel_index: int) -> torch.Size:STRING
LOWkornia/augmentation/container/video.py148 def __repeat_param_across_channels__(self, param: torch.Tensor, frame_num: int) -> torch.Tensor:STRING
LOWkornia/augmentation/container/video.py185 def _input_shape_convert_back(self, input: torch.Tensor, frame_num: int) -> torch.Tensor:STRING
LOWkornia/augmentation/container/image.py173 def get_random_forward_sequence(self, with_mix: bool = True) -> Tuple[Iterator[Tuple[str, nn.Module]], bool]:CODE
LOWkornia/augmentation/container/image.py218 def get_mix_augmentation_indices(self, named_modules: Iterator[Tuple[str, nn.Module]]) -> List[int]:CODE
LOWkornia/augmentation/container/image.py284 def get_transformation_matrix(CODE
LOWkornia/augmentation/container/base.py237 def get_transformation_matrix(CODE
LOWkornia/augmentation/container/base.py470 def _parse_transformation_matrix_mode(self, transformation_matrix_mode: str) -> None:CODE
LOWkornia/augmentation/container/base.py489 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/base.py492 def _update_transform_matrix_by_module(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/base.py509 def _reset_transform_matrix_state(self) -> None:CODE
LOWkornia/augmentation/_3d/base.py91 def generate_transformation_matrix(STRING
LOWkornia/core/utils.py45def get_cuda_device_if_available(index: int = 0) -> torch.device:CODE
679 more matches not shown…
Docstring Block Structure145 hits · 725 pts
SeverityFileLineSnippetContext
HIGHkornia/filters/kernels_geometry.py33Return 2D motion blur filter. Args: kernel_size: motion kernel width and height. It should be odd and positSTRING
HIGHkornia/filters/kernels_geometry.py119Return 3D motion blur filter. Args: kernel_size: motion kernel width, height and depth. It should be odd anSTRING
HIGHkornia/filters/in_range.py35Create a mask indicating whether elements of the input torch.Tensor are within the specified range. .. image:: _staSTRING
HIGHkornia/filters/in_range.py152Create a module for applying lower and upper bounds to input tensors. Args: input: The input torch.Tensor tSTRING
HIGHkornia/filters/motion.py34Blur 2D images (4D torch.Tensor) using the motion filter. Args: kernel_size: motion kernel width and heightSTRING
HIGHkornia/filters/motion.py99Blur 3D volumes (5D torch.Tensor) using the motion filter. Args: kernel_size: motion kernel width and heighSTRING
HIGHkornia/filters/kernels.py560Return Gaussian filter coefficients. Args: kernel_size: filter size. It should be odd and positive. STRING
HIGHkornia/filters/kernels.py595Return Gaussian filter coefficients based on the modified Bessel functions. Adapted from: https://github.com/ProjecSTRING
HIGHkornia/filters/kernels.py632Return Gaussian filter coefficients by interpolating the error function. Adapted from: https://github.com/Project-MSTRING
HIGHkornia/filters/kernels.py669Return Gaussian filter matrix coefficients. Args: kernel_size: filter sizes in the y and x direction. SizesSTRING
HIGHkornia/filters/kernels.py726Return Gaussian filter matrix coefficients. Args: kernel_size: filter sizes in the z, y and x direction. SiSTRING
HIGHkornia/filters/kernels.py781Return the coefficients of a 1D Laplacian filter. Args: kernel_size: filter size. It should be odd and posiSTRING
HIGHkornia/filters/kernels.py811Return Gaussian filter matrix coefficients. Args: kernel_size: filter size should be odd. device: tSTRING
HIGHkornia/filters/kernels.py857Generate pascal filter kernel by kernel size. Args: kernel_size: height and width of the kernel. noSTRING
HIGHkornia/filters/kernels.py897Generate Yang Hui triangle (Pascal's triangle) by a given number. Args: kernel_size: height and width of thSTRING
HIGHkornia/filters/kernels.py982Return Hanning (also known as Hann) kernel, used in signal processing and KCF tracker. .. math:: w(n) = 0.5 - 0.5cSTRING
HIGHkornia/filters/otsu_thresholding.py186Apply automatic image thresholding using Otsu algorithm to the input tensor. Args: x (Tensor): Input tensorSTRING
HIGHkornia/filters/blur_pool.py101Compute pools and blurs and downsample a given feature map. Equivalent to ```nn.Sequential(nn.MaxPool2d(...), BlurPSTRING
HIGHkornia/filters/blur_pool.py218Compute blurs and downsample a given feature map. .. image:: _static/img/blur_pool2d.png See :class:`~kornia.fSTRING
HIGHkornia/filters/unsharp.py32Create an operator that sharpens a torch.Tensor by applying operation out = 2 * image - gaussian_blur2d(image). .. STRING
HIGHkornia/filters/unsharp.py59Create an operator that sharpens image with: out = 2 * image - gaussian_blur2d(image). Args: kernel_size: tSTRING
HIGHkornia/filters/gaussian.py39Create an operator that blurs a torch.Tensor using a Gaussian filter. .. image:: _static/img/gaussian_blur2d.png STRING
HIGHkornia/metrics/ssim.py42Compute the Structural Similarity (SSIM) index map between two images. Measures the (SSIM) index between each elemeSTRING
HIGHkornia/metrics/mean_average_precision.py34Calculate the Mean Average Precision (mAP) of detected objects. Code altered from https://github.com/sgrvinod/a-PyTSTRING
HIGHkornia/metrics/ssim3d.py52Compute the Structural Similarity (SSIM) index map between two images. Measures the (SSIM) index between each elemeSTRING
HIGHkornia/losses/focal.py221Criterion that computes Binary Focal loss. According to :cite:`lin2018focal`, the Focal loss is computed as followsSTRING
HIGHkornia/losses/mutual_information.py231Compute the joint histogram between the reference signal and another signal. Uses kernel density estimation to STRING
HIGHkornia/losses/ssim.py35Compute a loss based on the SSIM measurement. The loss, or the Structural dissimilarity (DSSIM) is described as: STRING
HIGHkornia/losses/ssim.py86Create a criterion that computes a loss based on the SSIM measurement. The loss, or the Structural dissimilarity (DSTRING
HIGHkornia/losses/ms_ssim.py31Creates a criterion that computes MSSIM + L1 loss. According to [1], we compute the MS_SSIM + L1 loss as follows: STRING
HIGHkornia/losses/one_hot.py27Convert an integer label x-D torch.Tensor to a one-hot (x+1)-D torch.Tensor. Args: labels: torch.Tensor witSTRING
HIGHkornia/losses/ssim3d.py35Compute a loss based on the SSIM measurement. The loss, or the Structural dissimilarity (DSSIM) is described as: STRING
HIGHkornia/losses/ssim3d.py86Create a criterion that computes a loss based on the SSIM measurement. The loss, or the Structural dissimilarity (DSTRING
HIGHkornia/augmentation/_2d/mix/mixup.py28Apply MixUp augmentation to a batch of torch.Tensor images. .. image:: _static/img/RandomMixUpV2.png ImplementSTRING
HIGHkornia/augmentation/_2d/mix/transplantation.py33RandomTransplantation augmentation. .. image:: _static/img/RandomTransplantation.png Randomly transplant (copySTRING
HIGHkornia/augmentation/_2d/mix/cutmix.py29Apply CutMix augmentation to a batch of torch.Tensor images. .. image:: _static/img/RandomCutMixV2.png ImplemeSTRING
HIGHkornia/augmentation/auto/rand_augment/rand_augment.py107Build a :class:`PolicySequential` for one RandAugment candidate op. Args: subpolicy: Single-entry pSTRING
HIGH…a/augmentation/auto/trivial_augment/trivial_augment.py82Build a :class:`PolicySequential` from one TrivialAugment candidate. Args: subpolicy: Single-entry STRING
HIGHkornia/augmentation/container/patch.py175Compute spatial padding needed before patch extraction. Args: input: Input image tensor. STRING
HIGHkornia/augmentation/container/patch.py391Inverse the patch pipeline when supported. Args: input: Augmented image tensor. params:STRING
HIGHkornia/augmentation/container/patch.py412Transform masks for intensity-only patch pipelines. Args: input: Input mask tensor. parSTRING
HIGHkornia/augmentation/container/patch.py433Inverse mask transforms for supported patch pipelines. Args: input: Augmented mask tensor. STRING
HIGHkornia/augmentation/container/patch.py454Transform boxes for intensity-only patch pipelines. Args: input: Input boxes. params: PSTRING
HIGHkornia/augmentation/container/patch.py475Inverse box transforms for supported patch pipelines. Args: input: Augmented boxes. parSTRING
HIGHkornia/augmentation/container/patch.py496Transform keypoints for intensity-only patch pipelines. Args: input: Input keypoints. pSTRING
HIGHkornia/augmentation/container/patch.py517Inverse keypoint transforms for supported patch pipelines. Args: input: Augmented keypoints (concepSTRING
HIGHkornia/augmentation/container/ops.py47Extract per-module parameter dict from a :class:`ParamItem`. Args: param: Parameter wrapper produceSTRING
HIGHkornia/augmentation/container/ops.py66Extract nested sequential parameters from a :class:`ParamItem`. Args: param: Parameter wrapper prodSTRING
HIGHkornia/augmentation/container/ops.py138Normalize user-provided data keys into :class:`DataKey` values. Args: data_keys: Optional keys passSTRING
HIGHkornia/augmentation/container/ops.py284Apply one module step to an image tensor. Args: input: Input image tensor. module: ModuSTRING
HIGHkornia/augmentation/container/ops.py316Apply one inverse module step to an image tensor. Args: input: Tensor to invert. moduleSTRING
HIGHkornia/augmentation/container/ops.py354Apply class-label handling for one module step. Args: input: Class-label tensor. moduleSTRING
HIGHkornia/augmentation/container/image.py227Return the module sequence used for the current forward call. Args: params: Optional recorded paramSTRING
HIGHkornia/augmentation/container/base.py55Get submodule. This code is taken from torch 1.9.0 since it is not introduced back to torch 1.7.1. We iSTRING
HIGHkornia/augmentation/random_generator/base.py96Sample random augmentation parameters. Args: batch_shape: Target batch shape. same_on_bSTRING
HIGHkornia/augmentation/random_generator/_2d/crop.py159Get cropping heights and widths for ```crop``` transformation for resized crop transform. Args: output_sizeSTRING
HIGHkornia/sensors/camera/distortion_model.py92Apply Brown-Conrady lens distortion to ideal normalized points. Args: params: Distortion parameter STRING
HIGHkornia/sensors/camera/distortion_model.py111Remove Brown-Conrady lens distortion from observed points. Args: params: Distortion parameter tensoSTRING
HIGHkornia/sensors/camera/distortion_model.py139Apply Kannala-Brandt K3 fisheye distortion to normalized points. Args: params: Fisheye distortion cSTRING
HIGHkornia/sensors/camera/distortion_model.py156Remove Kannala-Brandt K3 fisheye distortion from observed points. Args: params: Fisheye distortion STRING
85 more matches not shown…
Hallucination Indicators64 hits · 720 pts
SeverityFileLineSnippetContext
CRITICALkornia/core/utils.py30from kornia.core.exceptions import DeviceErrorCODE
CRITICALkornia/color/yuv.py27from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/filters/test_sobel.py43 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_sobel.py293 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_sobel.py458 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_blur_pool.py168 from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICALtests/filters/test_median.py40 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_bilateral.py57 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_bilateral.py214 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_gaussian.py245 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_filters.py105 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_filters.py424 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_filters.py829 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_guided.py71 from kornia.core.exceptions import BaseError, TypeCheckErrorCODE
CRITICALtests/filters/test_canny.py53 from kornia.core.exceptions import BaseError, ShapeError, TypeCheckErrorCODE
CRITICALtests/metrics/test_disparity.py22from kornia.core.exceptions import BaseError, ShapeError, TypeCheckErrorCODE
CRITICALtests/metrics/test_aepe.py61 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/metrics/test_aepe.py73 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/metrics/test_ssim3d.py69 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/metrics/test_ssim3d.py80 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_charbonnier.py39 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_charbonnier.py46 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/losses/test_charbonnier.py57 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_lovaz_softmax.py37 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_geman_macclure.py39 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_geman_macclure.py46 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/losses/test_geman_macclure.py57 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_welcsh.py96 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_welcsh.py103 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/losses/test_welcsh.py114 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_cauchy.py39 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_cauchy.py46 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/losses/test_cauchy.py57 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/augmentation/test_augmentation.py4062 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/augmentation/test_augmentation.py4349 from kornia.core.exceptions import BaseError, TypeCheckErrorCODE
CRITICALtests/core/test_tensor_wrapper.py21from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/core/test_helpers.py21from kornia.core.exceptions import DeviceErrorCODE
CRITICALtests/color/test_yuv.py23from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/color/test_xyz.py39 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/color/test_raw.py224 from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICALtests/color/test_gray.py40 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/color/test_gray.py146 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/color/test_gray.py262 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/models/test_structures.py23from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/models/test_prompter.py66 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/models/test_sam.py71 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/contrib/test_conv_distance_transformer.py22from kornia.core.exceptions import BaseError, TypeCheckErrorCODE
CRITICALtests/contrib/test_kmeans.py66 from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICALtests/image/test_print.py44 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/image/test_print.py51 from kornia.core.exceptions import ValueCheckErrorCODE
CRITICALtests/image/test_image.py25from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/enhance/test_shift_rgb.py52 from kornia.core.exceptions import ImageErrorCODE
CRITICALtests/enhance/test_jpeg.py105 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/enhance/test_jpeg.py113 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/enhance/test_jpeg.py122 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/enhance/test_jpeg.py137 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/enhance/test_jpeg.py152 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/enhance/test_jpeg.py163 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/enhance/test_jpeg.py174 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/geometry/camera/test_projections.py116 from kornia.core.exceptions import ShapeErrorCODE
4 more matches not shown…
Decorative Section Separators167 hits · 562 pts
SeverityFileLineSnippetContext
MEDIUMpixi.toml8# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml10# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml18# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml20# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml32# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml34# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml60# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml62# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml66# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml69# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml81# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml83# ------------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml320 # ----------------------------COMMENT
MEDIUMpyproject.toml341# =============================================================================COMMENT
MEDIUMpyproject.toml343# =============================================================================COMMENT
MEDIUMkornia/feature/xfeat.py322 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py324 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py474 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py476 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/scale_space_detector.py330 # ── Hoist loop invariants ────────────────────────────────────────────COMMENT
MEDIUMkornia/feature/scale_space_detector.py345 # ── Process octaves sequentially ────────────────────────────────────COMMENT
MEDIUMkornia/feature/aliked/aliked.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py109# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py147# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py377# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py379# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py403# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py405# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py613# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py615# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py730# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py732# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/geometry/boxes.py665 # -----------------STRING
MEDIUMkornia/geometry/boxes.py667 # -----------------STRING
MEDIUMkornia/geometry/boxes.py691 # -----------------STRING
MEDIUMkornia/geometry/boxes.py693 # -----------------STRING
MEDIUMkornia/geometry/calibration/pnp.py135 # ============STRING
MEDIUMkornia/geometry/calibration/pnp.py137 # ============STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py753 # ── Step 1: NMS maxima ────────────────────────────────────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py759 # ── Step 2: dilate NMS positions — L∞ ball of radius dilation_radius ────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py835 # ── Step 5: build a compact int32 lookup table ───────────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py849 # ── Step 6: iterative lookup — no .any().item() sync ─────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py907 # ── Write refined coordinates and corrected response ──────────────────────STRING
MEDIUMtests/augmentation/test_onnx_export.py197# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/augmentation/test_onnx_export.py208# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py338# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py340# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py130# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py132# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py226# ---------------------------------------------------------------------------COMMENT
107 more matches not shown…
Cross-File Repetition49 hits · 245 pts
SeverityFileLineSnippetContext
HIGHkornia/augmentation/base.py0check if the input torch.tensor is formatted as expected.STRING
HIGHkornia/augmentation/_2d/base.py0check if the input torch.tensor is formatted as expected.STRING
HIGHkornia/augmentation/_3d/base.py0check if the input torch.tensor is formatted as expected.STRING
HIGHkornia/augmentation/base.py0process keypoints corresponding to the inputs that are no transformation applied.STRING
HIGHkornia/augmentation/_2d/geometric/crop.py0process keypoints corresponding to the inputs that are no transformation applied.STRING
HIGHkornia/augmentation/_2d/geometric/base.py0process keypoints corresponding to the inputs that are no transformation applied.STRING
HIGHkornia/augmentation/base.py0process class tags corresponding to the inputs that are transformed.STRING
HIGHkornia/augmentation/_2d/geometric/base.py0process class tags corresponding to the inputs that are transformed.STRING
HIGHkornia/augmentation/_2d/geometric/elastic_transform.py0process class tags corresponding to the inputs that are transformed.STRING
HIGHkornia/augmentation/auto/base.py0reset cached params and transformation-matrix state.STRING
HIGHkornia/augmentation/auto/operations/policy.py0reset cached params and transformation-matrix state.STRING
HIGHkornia/augmentation/container/augment.py0reset cached params and transformation-matrix state.STRING
HIGHkornia/augmentation/auto/base.py0compute the transformation matrix according to the provided parameters. args: input: the input torch.tensor. params: parSTRING
HIGHkornia/augmentation/auto/operations/policy.py0compute the transformation matrix according to the provided parameters. args: input: the input torch.tensor. params: parSTRING
HIGHkornia/augmentation/container/image.py0compute the transformation matrix according to the provided parameters. args: input: the input torch.tensor. params: parSTRING
HIGHkornia/augmentation/container/base.py0compute the transformation matrix according to the provided parameters. args: input: the input torch.tensor. params: parSTRING
HIGHkornia/augmentation/auto/autoaugment/__init__.py0kornia trivialaugment — trivialaugment policy implementations for kornia augmentation. this subpackage provides the trivSTRING
HIGHkornia/augmentation/auto/rand_augment/__init__.py0kornia trivialaugment — trivialaugment policy implementations for kornia augmentation. this subpackage provides the trivSTRING
HIGHkornia/augmentation/auto/trivial_augment/__init__.py0kornia trivialaugment — trivialaugment policy implementations for kornia augmentation. this subpackage provides the trivSTRING
HIGHkornia/augmentation/container/patch.py0inverse transformation. used to inverse a torch.tensor according to the performed transformation by a forward pass, or wSTRING
HIGHkornia/augmentation/container/video.py0inverse transformation. used to inverse a torch.tensor according to the performed transformation by a forward pass, or wSTRING
HIGHkornia/augmentation/container/base.py0inverse transformation. used to inverse a torch.tensor according to the performed transformation by a forward pass, or wSTRING
HIGHkornia/augmentation/container/augment.py0overwrite the __call__ function to handle various inputs. args: inputs: inputs to operate on. input_names_to_handle: lisSTRING
HIGHkornia/augmentation/container/image.py0overwrite the __call__ function to handle various inputs. args: inputs: inputs to operate on. input_names_to_handle: lisSTRING
HIGHkornia/core/module.py0overwrite the __call__ function to handle various inputs. args: inputs: inputs to operate on. input_names_to_handle: lisSTRING
HIGHkornia/color/xyz.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/hls.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/yuv.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/luv.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/rgb.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/ycbcr.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/lab.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/color/gray.py0convert an rgba tensor to bgr. args: image: input tensor with shape :math:`(*, 4, h, w)`. here, ``*`` means any number oSTRING
HIGHkornia/feature/dedode/detector.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/descriptor.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/decoder.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/dinov2.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/block.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/vgg.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/encoder.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/dinov2.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/attention.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/dino_head.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/swiglu_ffn.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/layer_scale.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/mlp.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/patch_embed.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/block.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
HIGHkornia/feature/dedode/transformer/layers/drop_path.py0run this dedode module forward. inputs are image, feature, or token tensors used by the dedode detector/descriptor pipelSTRING
Modern Structural Boilerplate153 hits · 154 pts
SeverityFileLineSnippetContext
LOWconftest.py276def _setup_torch_compile() -> None:CODE
LOWkornia/config.py22__all__ = ["InstallationMode", "kornia_config"]CODE
LOWkornia/constants.py23__all__ = ["BorderType", "DType", "Resample", "SamplePadding", "TKEnum", "pi"]CODE
LOWkornia/filters/__init__.py72__all__ = [CODE
LOWkornia/filters/blur_pool.py29__all__ = [CODE
LOWkornia/metrics/__init__.py35__all__ = [CODE
LOWkornia/losses/__init__.py60__all__ = [CODE
LOWkornia/transpiler/__init__.py25__all__ = ["to_jax", "to_numpy", "to_tensorflow"]CODE
LOWkornia/augmentation/__init__.py118__all__ = [CODE
LOWkornia/augmentation/base.py151 def set_rng_device_and_dtype(self, device: torch.device, dtype: torch.dtype) -> None:CODE
LOWkornia/augmentation/_2d/mix/transplantation.py29__all__ = ["RandomTransplantation"]CODE
LOWkornia/augmentation/_2d/mix/jigsaw.py26__all__ = ["RandomJigsaw"]CODE
LOWkornia/augmentation/_2d/mix/mosaic.py31__all__ = ["RandomMosaic"]CODE
LOWkornia/augmentation/auto/__init__.py29__all__ = ["AutoAugment", "PolicyAugmentBase", "PolicySequential", "RandAugment", "TrivialAugment"]CODE
LOWkornia/augmentation/auto/base.py44 def _update_transform_matrix_for_valid_op(self, module: PolicySequential) -> None: # type: ignoreCODE
LOWkornia/augmentation/auto/operations/policy.py45 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/auto/operations/ops.py25__all__ = [CODE
LOWkornia/augmentation/auto/operations/base.py120 def _update_probability_gen(self, relaxation: bool) -> None:CODE
LOWkornia/augmentation/utils/__init__.py53__all__ = [CODE
LOWkornia/augmentation/container/patch.py36__all__ = ["PatchSequential"]CODE
LOWkornia/augmentation/container/params.py22__all__ = ["ParamItem", "PatchParamItem"]CODE
LOWkornia/augmentation/container/augment.py40__all__ = ["AugmentationSequential"]CODE
LOWkornia/augmentation/container/augment.py292 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/video.py32__all__ = ["VideoSequential"]CODE
LOWkornia/augmentation/container/image.py33__all__ = ["ImageSequential"]CODE
LOWkornia/augmentation/container/base.py33__all__ = ["BasicSequentialBase", "ImageSequentialBase", "SequentialBase"]CODE
LOWkornia/augmentation/container/base.py489 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/base.py492 def _update_transform_matrix_by_module(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/base.py503 def _update_transform_matrix(self, transform_matrix: Optional[torch.Tensor]) -> None:CODE
LOWkornia/augmentation/random_generator/_2d/translate.py31__all__ = ["TranslateGenerator"]CODE
LOW…nia/augmentation/random_generator/_2d/gaussian_blur.py33__all__ = ["RandomGaussianBlurGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/perspective.py27__all__ = ["PerspectiveGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/mixup.py27__all__ = ["MixupGenerator"]CODE
LOW…nia/augmentation/random_generator/_2d/plain_uniform.py27__all__ = ["ParameterBound", "PlainUniformGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/patchmix.py27__all__ = ["PatchMixGenerator"]CODE
LOW…/augmentation/random_generator/_2d/planckian_jitter.py25__all__ = ["PlanckianJitterGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/jpeg.py26__all__ = ["JPEGGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/affine.py32__all__ = ["AffineGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/shear.py32__all__ = ["ShearGenerator"]CODE
LOW…rnia/augmentation/random_generator/_2d/color_jitter.py32__all__ = ["ColorJitterGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/crop.py33__all__ = ["CropGenerator", "ResizedCropGenerator", "center_crop_generator"]CODE
LOW…/augmentation/random_generator/_2d/rectangle_earase.py31__all__ = ["RectangleEraseGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/resize.py27__all__ = ["ResizeGenerator"]CODE
LOW…a/augmentation/random_generator/_2d/channel_shuffle.py25__all__ = ["ChannelShuffleGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/jigsaw.py26__all__ = ["JigsawGenerator"]CODE
LOW…rnia/augmentation/random_generator/_2d/color_jiggle.py27__all__ = ["ColorJiggleGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/posterize.py26__all__ = ["PosterizeGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/probability.py26__all__ = ["ProbabilityGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/cutmix.py34__all__ = ["CutmixGenerator"]CODE
LOW…ia/augmentation/random_generator/_2d/gaussian_noise.py26__all__ = ["GaussianNoiseGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/motion_blur.py26__all__ = ["MotionBlurGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/mosaic.py28__all__ = ["MosaicGenerator"]CODE
LOWkornia/augmentation/_3d/mix/transplantation.py21__all__ = ["RandomTransplantation3D"]CODE
LOWkornia/sensors/camera/__init__.py33__all__ = [CODE
LOWkornia/core/check.py37__all__ = [CODE
LOWkornia/core/__init__.py33__all__ = [CODE
LOWkornia/core/exceptions.py24__all__ = [CODE
LOWkornia/core/external.py27logger = logging.getLogger(__name__)CODE
LOWkornia/core/mixin/onnx.py199 def set_session(self, session: ort.InferenceSession) -> None: # type: ignoreCODE
LOWkornia/onnx/download.py27__all__ = ["CachedDownloader"]CODE
93 more matches not shown…
Deep Nesting82 hits · 82 pts
SeverityFileLineSnippetContext
LOWkornia/constants.py113CODE
LOWkornia/constants.py132CODE
LOWkornia/filters/kernels.py504CODE
LOWkornia/filters/otsu_thresholding.py73CODE
LOWkornia/metrics/mean_average_precision.py25CODE
LOWkornia/metrics/disparity.py52CODE
LOWkornia/augmentation/base.py163CODE
LOW…ia/augmentation/_2d/intensity/gaussian_illumination.py79CODE
LOW…rnia/augmentation/_2d/intensity/linear_illumination.py75CODE
LOW…rnia/augmentation/_2d/intensity/linear_illumination.py182CODE
LOWkornia/augmentation/_2d/intensity/salt_pepper_noise.py80CODE
LOWkornia/augmentation/_2d/geometric/crop.py121CODE
LOWkornia/augmentation/_2d/geometric/crop.py207CODE
LOWkornia/augmentation/_2d/mix/base.py212CODE
LOWkornia/augmentation/_2d/mix/mosaic.py186CODE
LOWkornia/augmentation/auto/autoaugment/autoaugment.py140CODE
LOWkornia/augmentation/auto/operations/policy.py73CODE
LOWkornia/augmentation/utils/param_validation.py152CODE
LOWkornia/augmentation/utils/helpers.py395CODE
LOWkornia/augmentation/container/patch.py302CODE
LOWkornia/augmentation/container/augment.py365CODE
LOWkornia/augmentation/container/augment.py390CODE
LOWkornia/augmentation/container/augment.py499CODE
LOWkornia/augmentation/container/augment.py657CODE
LOWkornia/augmentation/container/ops.py281CODE
LOWkornia/augmentation/container/ops.py313CODE
LOWkornia/augmentation/container/ops.py399CODE
LOWkornia/augmentation/container/ops.py448CODE
LOWkornia/augmentation/container/ops.py513CODE
LOWkornia/augmentation/container/ops.py561CODE
LOWkornia/augmentation/container/ops.py607CODE
LOWkornia/augmentation/container/ops.py658CODE
LOWkornia/augmentation/container/ops.py705CODE
LOWkornia/augmentation/container/video.py194CODE
LOWkornia/augmentation/container/image.py143CODE
LOWkornia/augmentation/container/image.py284CODE
LOWkornia/augmentation/container/image.py342CODE
LOWkornia/augmentation/_3d/geometric/crop.py111CODE
LOWkornia/sensors/camera/camera_model.py48CODE
LOWkornia/core/check.py131CODE
LOWkornia/core/check.py272CODE
LOWkornia/core/check.py323CODE
LOWkornia/core/utils.py88CODE
LOWkornia/core/external.py63CODE
LOWkornia/core/mixin/image_module.py39CODE
LOWkornia/core/mixin/image_module.py58CODE
LOWkornia/core/mixin/image_module.py60CODE
LOWkornia/color/raw.py53CODE
LOWkornia/color/raw.py192CODE
LOWkornia/color/raw.py236CODE
LOWkornia/color/rgb.py149CODE
LOWkornia/models/sam/model.py133CODE
LOWkornia/models/rt_detr/model.py96CODE
LOWkornia/models/rt_detr/model.py138CODE
LOWkornia/models/rt_detr/architecture/resnet_d.py198CODE
LOWkornia/models/siglip2/attention.py76CODE
LOWkornia/models/siglip2/config.py112CODE
LOWkornia/models/yunet/model.py73CODE
LOWkornia/models/yunet/processors.py94CODE
LOWkornia/contrib/super_resolution.py169CODE
22 more matches not shown…
AI Structural Patterns62 hits · 61 pts
SeverityFileLineSnippetContext
LOWkornia/filters/dexined.py231CODE
LOWkornia/filters/bilateral.py84CODE
LOWkornia/filters/filter.py207CODE
LOWkornia/filters/filter.py457CODE
LOWkornia/augmentation/base.py383CODE
LOWkornia/augmentation/base.py586CODE
LOWkornia/augmentation/_2d/intensity/random_snow.py97CODE
LOWkornia/augmentation/_2d/geometric/resized_crop.py82CODE
LOWkornia/augmentation/_2d/geometric/translate.py77CODE
LOWkornia/augmentation/_2d/geometric/affine.py98CODE
LOWkornia/augmentation/_2d/geometric/crop.py93CODE
LOWkornia/augmentation/_2d/geometric/elastic_transform.py65CODE
LOWkornia/augmentation/_2d/mix/cutmix.py92CODE
LOWkornia/augmentation/_2d/mix/base.py121CODE
LOWkornia/augmentation/_2d/mix/mosaic.py81CODE
LOWkornia/augmentation/_2d/mix/mosaic.py242CODE
LOWkornia/augmentation/container/video.py452CODE
LOWkornia/augmentation/presets/ada.py102CODE
LOWkornia/augmentation/_3d/geometric/affine.py104CODE
LOWkornia/augmentation/_3d/geometric/crop.py85CODE
LOWkornia/color/colormap.py253CODE
LOWkornia/color/luv.py89CODE
LOWkornia/color/hsv.py115CODE
LOWkornia/models/tiny_vit.py536CODE
LOWkornia/models/vit.py101CODE
LOWkornia/models/vit.py220CODE
LOWkornia/models/vit.py280CODE
LOWkornia/models/dexined.py148CODE
LOWkornia/models/efficient_vit/nn/ops.py65CODE
LOWkornia/models/efficient_vit/nn/ops.py288CODE
LOWkornia/models/efficient_vit/nn/ops.py427CODE
LOWkornia/models/efficient_vit/nn/ops.py500CODE
LOWkornia/models/efficient_vit/nn/ops.py522CODE
LOWkornia/models/sam/architecture/transformer.py291CODE
LOWkornia/models/sam/architecture/image_encoder.py59CODE
LOWkornia/models/sam/architecture/image_encoder.py165CODE
LOWkornia/models/rt_detr/architecture/rtdetr_head.py163CODE
LOWkornia/models/rt_detr/architecture/rtdetr_head.py234CODE
LOWkornia/models/sam3/architecture/image_encoder.py123CODE
LOWkornia/models/sam3/architecture/prompt_encoder.py177CODE
LOWkornia/enhance/histogram.py166CODE
LOWkornia/enhance/jpeg.py216CODE
LOWkornia/enhance/jpeg.py269CODE
LOWkornia/feature/defmo.py131CODE
LOWkornia/feature/scale_space_detector.py112CODE
LOWkornia/feature/laf.py68CODE
LOWkornia/feature/laf.py256CODE
LOWkornia/feature/sold2/backbones.py225CODE
LOWkornia/feature/adalam/core.py270CODE
LOWkornia/feature/adalam/adalam.py141CODE
LOWkornia/feature/aliked/aliked.py561CODE
LOWkornia/feature/aliked/aliked.py610CODE
LOWkornia/feature/dedode/decoder.py79CODE
LOWkornia/feature/dedode/transformer/dinov2.py80CODE
LOWkornia/feature/dedode/transformer/layers/block.py76CODE
LOWkornia/feature/dedode/transformer/layers/drop_path.py45CODE
LOWkornia/geometry/ransac.py56CODE
LOWkornia/geometry/subpix/spatial_soft_argmax.py417CODE
LOWkornia/geometry/subpix/spatial_soft_argmax.py242CODE
LOWkornia/geometry/transform/image_registrator.py142CODE
2 more matches not shown…
TODO Padding31 hits · 55 pts
SeverityFileLineSnippetContext
LOWkornia/augmentation/container/video.py117 # TODO: implement transform_matrixSTRING
LOWkornia/image/draw.py26# TODO: implement width of the lineCOMMENT
LOWkornia/image/draw.py375 # TODO: implement optional linetypes for smooth edgesSTRING
LOWkornia/feature/dedode/dedode.py69 # TODO: implement steerers and mnn matchersSTRING
LOWkornia/geometry/vector.py30# TODO: implement more functionality to validateCOMMENT
LOWkornia/geometry/line.py155 # TODO: add tests, and possibly return a maskCOMMENT
LOWkornia/geometry/plane.py182 # TODO: implement `.unitOrthonormal`COMMENT
LOWtests/losses/test_ssim.py109 # TODO: implement for single channel imageCOMMENT
LOWtests/color/test_colormap.py101 # TODO: implement differentiabilityCOMMENT
LOWtests/enhance/test_adjust.py1121 # TODO: implement meCOMMENT
LOWtests/enhance/test_adjust.py1193 # TODO: implement meCOMMENT
LOWtests/geometry/test_depth.py56 # TODO: implement me with batchCOMMENT
LOWtests/geometry/test_depth.py74 # TODO: implement me with batchCOMMENT
LOWtests/geometry/test_plane.py27# TODO: implement the rest of methodsCOMMENT
LOWtests/geometry/test_plane.py60# TODO: implement the rest of methodsCOMMENT
LOWtests/geometry/test_plane.py82 # TODO: implement `Vector2`COMMENT
LOWtests/geometry/liegroup/test_se3.py63 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se3.py67 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se3.py71 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se3.py75 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se2.py96 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se2.py100 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se2.py104 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py41 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py45 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py49 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py53 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py57 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so2.py88 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so2.py92 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so2.py96 # TODO: implement meCOMMENT
Self-Referential Comments15 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMkornia/onnx/download.py114 os.makedirs(os.path.dirname(file_path), exist_ok=True) # Create the cache directory if it doesn't existCODE
MEDIUMkornia/models/segmentation/base.py125 # Create a colormap for each pixel based on the class with the highest probabilityCOMMENT
MEDIUMkornia/feature/sold2/backbones.py421 # Define the pixel shuffleCOMMENT
MEDIUMkornia/feature/sold2/sold2_detector.py358 # Define the distance toleranceCOMMENT
MEDIUMtests/filters/test_dissolving.py39 # Create a dummy image tensor with shape [B, C, H, W], where B is the batch size.COMMENT
MEDIUMtests/core/test_module.py39 # Create a sample PIL image for testingCOMMENT
MEDIUMtests/core/test_module.py44 # Create a sample tensor for testingCOMMENT
MEDIUMtests/core/test_module.py49 # Create a sample numpy array for testingCOMMENT
MEDIUMtests/onnx/test_sequential.py30 # Create a minimal ONNX model with an input and outputCOMMENT
MEDIUMtests/onnx/test_sequential.py61 # Create a small ONNX model as the return value of merge_modelsCOMMENT
MEDIUMtests/models/test_kimi_vl.py82 # Create a mask (B, N, N) or (B, 1, N, N)COMMENT
MEDIUMtests/models/test_sam_onnx.py35 # Create a tiny pseudo-SAM model to prevent CI timeouts during ONNX traceCOMMENT
MEDIUMtests/feature/test_mkd.py46 # Create a dummy model structure depending on the kernel type in the URLCOMMENT
MEDIUMtests/geometry/test_quaternion.py159 # Create a quaternion with parameters to test gradient flowCOMMENT
MEDIUMtests/geometry/transform/test_affine.py782 # Define the expected shear matrix with controlled numbersCOMMENT
Redundant / Tautological Comments23 hits · 40 pts
SeverityFileLineSnippetContext
LOWkornia/augmentation/_2d/geometric/base.py117 # Check if we're using 'slice' cropping_mode which uses interpolateCOMMENT
LOWkornia/augmentation/_2d/geometric/base.py274 # Check if we're using 'slice' cropping_mode which uses interpolateCOMMENT
LOWkornia/core/mixin/onnx.py421 # Check if all ops are supported in the current IR versionCOMMENT
LOWkornia/image/draw.py301 # Check if polygons are in loop closed format, if not -> make it soSTRING
LOWkornia/geometry/bbox.py68 # Check if differences are within tolerance (1e-4)COMMENT
LOWtests/metrics/test_ssim3d.py68 # Check if both are tensorsCOMMENT
LOWtests/metrics/test_ssim3d.py91 # Check if same shapeCOMMENT
LOWtests/losses/test_charbonnier.py45 # Check if both are tensorsCOMMENT
LOWtests/losses/test_charbonnier.py56 # Check if same shapeCOMMENT
LOWtests/losses/test_geman_macclure.py45 # Check if both are tensorsCOMMENT
LOWtests/losses/test_geman_macclure.py56 # Check if same shapeCOMMENT
LOWtests/losses/test_welcsh.py102 # Check if both are tensorsCOMMENT
LOWtests/losses/test_welcsh.py113 # Check if same shapeCOMMENT
LOWtests/losses/test_cauchy.py45 # Check if both are tensorsCOMMENT
LOWtests/losses/test_cauchy.py56 # Check if same shapeCOMMENT
LOWtests/onnx/test_utils.py215 # Check if version was addedCOMMENT
LOWtests/models/test_small_sr.py100 # Check if pretrained weights are cached to avoid network download attempts in offline CICOMMENT
LOWtests/models/test_small_sr.py212 # Check if pretrained weights are cached to avoid network download attempts in offline CICOMMENT
LOWtests/models/test_box_filtering.py67 # Set classes_to_keep to [1, 2]COMMENT
LOWtests/tracking/test_planar_tracking.py36 # Set extract_features to None so isinstance(..., nn.Module) guard skips feature pre-extractionCOMMENT
LOWtesting/parametrized_tester.py84 # Check if class has a func or function_under_test attributeCOMMENT
LOW.github/workflows/scheduled_test_cpu.yml52 # Check if all changed files are in paths-ignore patternsCOMMENT
LOW.github/workflows/scheduled_test_cpu.yml55 # Check if file matches any ignore patternCOMMENT
Excessive Try-Catch Wrapping12 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/filters/test_gaussian.py353 except Exception as e:CODE
LOWtests/augmentation/test_backward.py203 except Exception as e:CODE
LOWtests/augmentation/container/test_patch_sequential.py79 except Exception:CODE
LOWtests/geometry/test_quaternion.py219 except Exception:CODE
LOWtesting/parametrized_tester.py134 except Exception as e:CODE
LOWtesting/parametrized_tester.py170 except Exception as e:CODE
LOWtesting/parametrized_tester.py228 except Exception as e:CODE
LOWbenchmarks/feature/scale_space_detector.py517 except Exception:CODE
LOWbenchmarks/geometry/project_distort.py68 except Exception:CODE
LOWbenchmarks/geometry/depth_to_normals.py65 except Exception:CODE
LOWbenchmarks/geometry/pointcloud.py80 except Exception:CODE
LOWbenchmarks/geometry/linalg_epipolar_distort.py82 except Exception:CODE
AI Slop Vocabulary7 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMkornia/losses/charbonnier.py145 """Compute the Charbonnier robust regression loss.STRING
MEDIUMkornia/losses/geman_mcclure.py134 """Compute the Geman-McClure robust regression loss.STRING
MEDIUMkornia/losses/cauchy.py132 """Compute the Cauchy robust regression loss.STRING
MEDIUMkornia/losses/welsch.py133 """Compute the Welsch robust regression loss.STRING
LOWkornia/contrib/extract_patches.py93 # For now, just use the default paddingSTRING
LOWkornia/contrib/object_detection.py365 # If no class filtering is needed, just use a mask of all `True`COMMENT
MEDIUMkornia/geometry/ransac.py43 """Module for robust geometry estimation with RANSAC. https://en.wikipedia.org/wiki/Random_sample_consensus.STRING
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md403 - Completing the AI Usage Disclosure in the PR template accurately (see [AI-Assisted Development](#ai-assisted-developCODE