AI Slop Code RIsk Monitor

kornia/kornia

🐍 Geometric Computer Vision Library for Spatial AI

23.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kornia/kornia, a Python project with 11,416 GitHub stars. SynthScan examined 390,676 lines of code across 1864 source files, recording 7005 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 23.2 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

23.2
Adjusted Signal
23.2
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
11.4K
Stars
Python
Language
390.7K
Lines of Code
1.9K
Files
7.0K
Pattern Hits
2026-10-12
Scan Date
0.19
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 51.5/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 5200 finding(s).

Hallucinated Dependency & Supply Chain Risk 26.1/100 · MEDIUM

Are imports declared and package/API names verified? 1351 finding(s).

Agent Over-Engineering Ratio 44.3/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 4217 finding(s).

PR Review Velocity Impact 70.9/100 · HIGH

Which changes need focused human review? 7005 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 119HIGH 234MEDIUM 205LOW 6447

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 7005 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers3725 hits · 3478 pts
SeverityFileLineSnippetContext
LOWconftest.py139def keep_distribution_validation():CODE
LOWconftest.py228def _configure_known_failure_profile(config) -> ManifestProfile | None:CODE
LOWconftest.py259def _validate_complete_known_failure_run(config, option: str) -> None:CODE
LOWconftest.py396def pytest_collection_modifyitems(config, items):CODE
LOWconftest.py749def _is_subprocess_isolated_test(item) -> bool:CODE
LOWconftest.py910def seed_half_precision_manifest_run(request, test_rng_seed: int):CODE
LOWconftest.py920def skip_half_precision_on_cuda(request):CODE
LOWconftest.py1032def skip_doctests_needing_downloads(request, monkeypatch):CODE
LOW⚡kornia/__init__.py126def get_cuda_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOW⚡kornia/__init__.py132def get_mps_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOW⚡kornia/__init__.py138def get_cuda_or_mps_device_if_available(*args: Any, **kwargs: Any) -> Any:CODE
LOWkornia/filters/laplacian.py38def _laplacian_slices_eligible(input: torch.Tensor) -> bool:CODE
LOWkornia/filters/guided.py54def _preprocess_fast_guided_blur(CODE
LOWkornia/filters/guided.py70def _guided_blur_grayscale_guidance(CODE
LOWkornia/filters/guided.py112def _guided_blur_multichannel_guidance(CODE
LOWkornia/filters/blur.py57def _needs_convolution_for_extreme_cpu_values(input: torch.Tensor, num_terms: int) -> bool:CODE
LOWkornia/filters/motion.py33def _scalar_params_as_tensors(CODE
LOWkornia/filters/kernels.py40def _check_laplacian_kernel_size(kernel_size: tuple[int, ...] | int) -> None:CODE
LOWkornia/filters/blur_pool.py334def _warn_ceil_mode_deprecated(ceil_mode: bool | None) -> None:STRING
LOWkornia/metrics/disparity.py89def mean_absolute_disparity_error(CODE
LOWkornia/metrics/disparity.py160def root_mean_squared_disparity_error(STRING
LOWkornia/losses/focal.py250def binary_focal_loss_with_logits(STRING
LOWkornia/losses/mutual_information.py67def truncated_gaussian_kernel(x: torch.Tensor, window_radius: float = 1.0) -> torch.Tensor:CODE
LOWkornia/losses/mutual_information.py153def _joint_histogram_to_entropies(joint_histogram: torch.Tensor, eps: float = 1e-8) -> torch.Tensor:CODE
LOWkornia/losses/mutual_information.py950def 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.py65def _apply_transform_unimplemented(self: nn.Module, *input: Any) -> torch.Tensor:CODE
LOWkornia/augmentation/base.py285 def _process_kwargs_to_params_and_flags(CODE
LOWkornia/augmentation/base.py628 def apply_non_transform_keypoint(CODE
LOWkornia/augmentation/base.py648 def apply_non_transform_class(CODE
LOWkornia/augmentation/_2d/base.py193 def generate_transformation_matrix(CODE
LOW…ia/augmentation/_2d/intensity/gaussian_illumination.py29def _apply_gaussian_illumination(CODE
LOWkornia/augmentation/_2d/geometric/crop.py217 def _compute_crop_transformation(STRING
LOWkornia/augmentation/_2d/geometric/base.py97 def compute_inverse_transformation(self, transform: torch.Tensor) -> torch.Tensor:CODE
LOWkornia/augmentation/_2d/geometric/base.py101 def get_transformation_matrix(CODE
LOWkornia/augmentation/_2d/mix/mixup.py130 def apply_non_transform_class(STRING
LOWkornia/augmentation/_2d/mix/cutmix.py165 def apply_non_transform_class(STRING
LOW⚡kornia/augmentation/_2d/mix/base.py237 def apply_non_transform_boxes(self, input: Boxes, params: Dict[str, torch.Tensor], flags: Dict[str, Any]) -> Boxes:CODE
LOW⚡kornia/augmentation/_2d/mix/base.py243 def apply_non_transform_keypoint(CODE
LOW⚡kornia/augmentation/_2d/mix/base.py253 def apply_non_transform_class(CODE
LOWkornia/augmentation/auto/base.py68 def _update_transform_matrix_for_valid_op(self, module: PolicySequential) -> None: # type: ignoreCODE
LOWkornia/augmentation/auto/base.py80 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/base.py95 def get_transformation_matrix(CODE
LOWkornia/augmentation/auto/autoaugment/autoaugment.py172 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/rand_augment/rand_augment.py126 def compose_subpolicy_sequential(self, subpolicy: SUBPOLICY_CONFIG) -> PolicySequential:CODE
LOWkornia/augmentation/auto/operations/policy.py59 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/auto/operations/policy.py87 def get_transformation_matrix(CODE
LOW…a/augmentation/auto/trivial_augment/trivial_augment.py92 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.py205def _transform_input_by_shape(STRING
LOWkornia/augmentation/container/augment.py397 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.py100 def get_sequential_module_param(cls, param: ParamItem) -> List[ParamItem]:CODE
LOWkornia/augmentation/container/ops.py303def make_input_only_sequential(module: "K.container.ImageSequentialBase") -> Callable[P, torch.Tensor]:CODE
LOWkornia/augmentation/container/video.py162 def __infer_channel_exclusive_batch_shape__(self, batch_shape: torch.Size, chennel_index: int) -> torch.Size:STRING
LOWkornia/augmentation/container/video.py166 def __repeat_param_across_channels__(self, param: torch.Tensor, frame_num: int) -> torch.Tensor:STRING
LOWkornia/augmentation/container/video.py223 def _input_shape_convert_back(self, input: torch.Tensor, frame_num: int) -> torch.Tensor:STRING
LOWkornia/augmentation/container/image.py210 def get_random_forward_sequence(self, with_mix: bool = True) -> Tuple[Iterator[Tuple[str, nn.Module]], bool]:CODE
LOWkornia/augmentation/container/image.py258 def get_mix_augmentation_indices(self, named_modules: Iterator[Tuple[str, nn.Module]]) -> List[int]:CODE
LOWkornia/augmentation/container/image.py324 def get_transformation_matrix(CODE
3665 more matches not shown…
Hallucination Indicators119 hits · 1295 pts
SeverityFileLineSnippetContext
CRITICALkornia/core/ops.py24from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALkornia/core/utils.py40from kornia.core.exceptions import DeviceError, TypeCheckErrorCODE
CRITICALkornia/color/yuv.py28from kornia.core.exceptions import ShapeErrorCODE
CRITICALkornia/morphology/morphology.py25from kornia.core.exceptions import ValueCheckErrorCODE
CRITICALkornia/enhance/histogram.py23from kornia.core.exceptions import ShapeErrorCODE
CRITICALkornia/geometry/line.py27from kornia.core.exceptions import ValueCheckErrorCODE
CRITICALkornia/geometry/depth.py29from kornia.core.exceptions import ShapeErrorCODE
CRITICALkornia/geometry/plane.py27from kornia.core.exceptions import BaseError, ValueCheckErrorCODE
CRITICALtests/test_half_precision_ci.py368 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/filters/test_sobel.py49 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_sobel.py367 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_sobel.py555 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_blur_pool.py26from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_blur_pool.py293 from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICALtests/filters/test_motion.py23from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_median.py24from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_median.py48 from kornia.core.exceptions import BaseError, ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_bilateral.py23from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_bilateral.py66 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_bilateral.py80 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_bilateral.py102 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_bilateral.py127 from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_bilateral.py198 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/filters/test_bilateral.py378 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_gaussian.py28from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_gaussian.py429 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/filters/test_laplacian.py23from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_filters.py27from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/filters/test_filters.py142 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_filters.py485 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_filters.py959 from kornia.core.exceptions import ShapeError, TypeCheckErrorCODE
CRITICALtests/filters/test_guided.py31from kornia.core.exceptions import BaseError, TypeCheckErrorCODE
CRITICALtests/filters/test_guided.py241 from kornia.core.exceptions import BaseError, TypeCheckErrorCODE
CRITICALtests/filters/test_canny.py28from kornia.core.exceptions import ImageErrorCODE
CRITICALtests/filters/test_canny.py93 from kornia.core.exceptions import BaseError, ShapeError, TypeCheckErrorCODE
CRITICALtests/metrics/test_disparity.py22from kornia.core.exceptions import BaseError, ShapeError, TypeCheckErrorCODE
CRITICAL⚡tests/metrics/test_aepe.py22from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_aepe.py62 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/metrics/test_aepe.py74 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/metrics/test_mean_iou.py24from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_ssim3d.py23from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_ssim3d.py177 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICALtests/metrics/test_ssim3d.py188 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/metrics/test_confusion.py24from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_psnr_metric.py24from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_ssim_metric.py24from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/metrics/test_pose.py56 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/metrics/test_map.py22from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_ssim.py22from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_divergence.py24from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICAL⚡tests/losses/test_charbonnier.py39 from kornia.core.exceptions import BaseErrorCODE
CRITICAL⚡tests/losses/test_charbonnier.py46 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICAL⚡tests/losses/test_charbonnier.py57 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_one_hot.py22from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_total_variation.py22from kornia.core.exceptions import BaseErrorCODE
CRITICALtests/losses/test_lovaz_softmax.py69 from kornia.core.exceptions import ShapeErrorCODE
CRITICALtests/losses/test_mutual_information.py25from kornia.core.exceptions import BaseError, ShapeErrorCODE
CRITICAL⚡tests/losses/test_geman_macclure.py39 from kornia.core.exceptions import BaseErrorCODE
CRITICAL⚡tests/losses/test_geman_macclure.py46 from kornia.core.exceptions import TypeCheckErrorCODE
CRITICAL⚡tests/losses/test_geman_macclure.py57 from kornia.core.exceptions import ShapeErrorCODE
59 more matches not shown…
Unused Imports1221 hits · 1015 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__.py52CODE
LOWkornia/__init__.py56CODE
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__.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
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
LOWkornia/filters/__init__.py41CODE
1161 more matches not shown…
Over-Commented Block1041 hits · 984 pts
SeverityFileLineSnippetContext
LOWconftest.py1# LICENSE HEADER MANAGED BY add-license-headerCOMMENT
LOWconftest.py361COMMENT
LOWconftest.py601 torch.compile(_dummy_fn)COMMENT
LOWpyproject.toml261 "D400", # missing-trailing-periodCOMMENT
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/pose.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
981 more matches not shown…
Docstring Block Structure173 hits · 865 pts
SeverityFileLineSnippetContext
HIGHkornia/filters/kernels_geometry.py34Return 2D motion blur filter. Convention: - ``direction`` is clamped to ``[-1, 1]`` and weighs the line linSTRING
HIGHkornia/filters/kernels_geometry.py166Return 3D motion blur filter. Convention: See the Convention block on :func:`~kornia.filters.get_motion_kerSTRING
HIGHkornia/filters/laplacian.py62Create an operator that returns a tensor using a Laplacian filter. .. image:: _static/img/laplacian.png The opSTRING
HIGHkornia/filters/laplacian.py158Create an operator that returns a tensor using a Laplacian filter. The operator filters each channel of the given tSTRING
HIGHkornia/filters/guided.py181Blur a torch.Tensor using a Guided filter. .. image:: _static/img/guided_blur.png The operator is an edge-presSTRING
HIGHkornia/filters/guided.py268Blur a torch.Tensor using a Guided filter. The operator is an edge-preserving image smoothing filter. See :cite:`heSTRING
HIGHkornia/filters/in_range.py86Create a mask indicating whether elements of the input torch.Tensor are within the specified range. .. image:: _staSTRING
HIGHkornia/filters/in_range.py218Create a module for applying lower and upper bounds to input tensors. Convention: See the Convention block STRING
HIGHkornia/filters/motion.py55Blur 2D images (4D torch.Tensor) using the motion filter. Convention: See the Convention block on :func:`~kSTRING
HIGHkornia/filters/motion.py127Blur 3D volumes (5D torch.Tensor) using the motion filter. Convention: See the Convention block on :func:`~STRING
HIGHkornia/filters/bilateral.py131Blur a torch.Tensor using a Bilateral filter. .. image:: _static/img/bilateral_blur.png The operator is an edgSTRING
HIGHkornia/filters/bilateral.py195Blur a torch.Tensor using a Joint Bilateral filter. .. image:: _static/img/joint_bilateral_blur.png This operaSTRING
HIGHkornia/filters/bilateral.py277Blur a torch.Tensor using a Bilateral filter. The operator is an edge-preserving image smoothing filter. The weightSTRING
HIGHkornia/filters/bilateral.py351Blur a torch.Tensor using a Joint Bilateral filter. This operator is almost identical to a Bilateral filter. The onSTRING
HIGHkornia/filters/kernels.py744Return Gaussian filter coefficients. Convention: - In a floating ``dtype`` the kernel samples :math:`\exp(-STRING
HIGHkornia/filters/kernels.py801Return Gaussian filter coefficients based on the modified Bessel functions. Adapted from: https://github.com/ProjecSTRING
HIGHkornia/filters/kernels.py848Return Gaussian filter coefficients by interpolating the error function. Adapted from: https://github.com/Project-MSTRING
HIGHkornia/filters/kernels.py893Return Gaussian filter matrix coefficients. Convention: See the Convention block on :func:`~kornia.filters.STRING
HIGHkornia/filters/kernels.py956Return Gaussian filter matrix coefficients. Convention: See the Convention block on :func:`~kornia.filters.STRING
HIGHkornia/filters/kernels.py1017Return the coefficients of a 1D Laplacian filter. Convention: - In a floating ``dtype``, or a signed integeSTRING
HIGHkornia/filters/kernels.py1060Return Laplacian filter matrix coefficients. Convention: See the Convention block on :func:`~kornia.filtersSTRING
HIGHkornia/filters/kernels.py1119Generate pascal filter kernel by kernel size. Args: kernel_size: height and width of the kernel. noSTRING
HIGHkornia/filters/kernels.py1156Generate Yang Hui triangle (Pascal's triangle) by a given number. Args: kernel_size: height and width of thSTRING
HIGHkornia/filters/kernels.py1249Return Hanning (also known as Hann) kernel. .. math:: w(n) = 0.5 - 0.5 \cos\left(\frac{2\pi n}{M - 1}\right) \qquaSTRING
HIGHkornia/filters/otsu_thresholding.py381Apply automatic image thresholding using Otsu algorithm to the input tensor. Convention: - One threshold isSTRING
HIGHkornia/filters/blur_pool.py102Compute pools and blurs and downsample a given feature map. Equivalent to ``nn.Sequential(nn.MaxPool2d(max_pool_sizSTRING
HIGHkornia/filters/blur_pool.py238Compute 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.py66Create an operator that sharpens image with: out = 2 * image - gaussian_blur2d(image). Convention: See the STRING
HIGHkornia/filters/gaussian.py92Create an operator that blurs a torch.Tensor using a Gaussian filter. .. image:: _static/img/gaussian_blur2d.png STRING
HIGHkornia/metrics/ssim.py43Compute the Structural Similarity (SSIM) index map between two images. Measures the (SSIM) index between each elemeSTRING
HIGHkornia/metrics/mean_average_precision.py36Calculate 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.py260Criterion that computes Binary Focal loss. According to :cite:`lin2018focal`, the Focal loss is computed as followsSTRING
HIGHkornia/losses/mutual_information.py284Compute 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.py92Create 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. We compute the MS_SSIM + L1 loss of [1] as follows: .. mathSTRING
HIGHkornia/losses/one_hot.py27Convert an integer label x-D torch.Tensor to a one-hot (x+1)-D torch.Tensor. Convention: - int64 ``labels``STRING
HIGHkornia/losses/ssim3d.py35Compute a loss based on the SSIM measurement. The loss is the structural dissimilarity (DSSIM) of each voxel, clampSTRING
HIGHkornia/losses/ssim3d.py89Create a criterion that computes a loss based on the SSIM measurement. The loss is the structural dissimilarity (DSSTRING
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.py30Apply CutMix augmentation to a batch of torch.Tensor images. .. image:: _static/img/RandomCutMixV2.png ImplemeSTRING
HIGHkornia/augmentation/auto/base.py171Undo the drawn sub-policy, or refuse when it cannot be undone. Only geometric operations are invertible. A poliSTRING
HIGHkornia/augmentation/auto/autoaugment/ops.py44Return the magnitude range that bin ``magnitude`` selects from ``magnitudes``. A bin indexes two adjacent points, sSTRING
HIGHkornia/augmentation/auto/rand_augment/rand_augment.py127Build a :class:`PolicySequential` for one RandAugment candidate op. Args: subpolicy: Single-entry pSTRING
HIGH…a/augmentation/auto/trivial_augment/trivial_augment.py93Build a :class:`PolicySequential` from one TrivialAugment candidate. Args: subpolicy: Single-entry STRING
HIGHkornia/augmentation/container/dispatcher.py72Apply each augmentation to the matching input tuple. Args: *input: One input bundle per configured STRING
HIGHkornia/augmentation/container/patch.py208Compute spatial padding needed before patch extraction. Args: input: Input image tensor. STRING
HIGHkornia/augmentation/container/patch.py470Inverse the patch pipeline when supported. Args: input: Augmented image tensor. params:STRING
HIGHkornia/augmentation/container/patch.py491Transform masks for intensity-only patch pipelines. Args: input: Input mask tensor. parSTRING
HIGHkornia/augmentation/container/patch.py512Inverse mask transforms for supported patch pipelines. Args: input: Augmented mask tensor. STRING
HIGHkornia/augmentation/container/patch.py533Transform boxes for intensity-only patch pipelines. Args: input: Input boxes. params: PSTRING
HIGHkornia/augmentation/container/patch.py554Inverse box transforms for supported patch pipelines. Args: input: Augmented boxes. parSTRING
HIGHkornia/augmentation/container/patch.py575Transform keypoints for intensity-only patch pipelines. Args: input: Input keypoints. pSTRING
HIGHkornia/augmentation/container/patch.py596Inverse 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.py101Extract nested sequential parameters from a :class:`ParamItem`. Args: param: Parameter wrapper prodSTRING
HIGHkornia/augmentation/container/ops.py173Normalize user-provided data keys into :class:`DataKey` values. Args: data_keys: Optional keys passSTRING
113 more matches not shown…
Decorative Section Separators170 hits · 560 pts
SeverityFileLineSnippetContext
MEDIUM⚡pixi.toml8# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml10# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml18# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml20# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml33# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml35# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml69# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml71# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml75# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡pixi.toml78# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml94# ------------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml96# ------------------------------------------------------------------------------COMMENT
MEDIUMpyproject.toml75# =============================================================================COMMENT
MEDIUMpyproject.toml77# =============================================================================COMMENT
MEDIUMpyproject.toml147 # ----------------------------COMMENT
MEDIUMkornia/feature/xfeat.py331 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py333 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py483 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/xfeat.py485 # ------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/scale_space_detector.py594 # ── Hoist loop invariants ────────────────────────────────────────────COMMENT
MEDIUMkornia/feature/scale_space_detector.py617 # ── Process octaves sequentially ────────────────────────────────────COMMENT
MEDIUMkornia/feature/aliked/aliked.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py204# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py387# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py389# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py415# ---------------------------------------------------------------------------COMMENT
MEDIUMkornia/feature/aliked/aliked.py617# ---------------------------------------------------------------------------STRING
MEDIUMkornia/feature/aliked/aliked.py619# ---------------------------------------------------------------------------STRING
MEDIUMkornia/feature/aliked/aliked.py734# ---------------------------------------------------------------------------STRING
MEDIUMkornia/feature/aliked/aliked.py736# ---------------------------------------------------------------------------STRING
MEDIUMkornia/geometry/boxes.py876 # -----------------STRING
MEDIUMkornia/geometry/boxes.py878 # -----------------STRING
MEDIUMkornia/geometry/boxes.py898 # -----------------STRING
MEDIUMkornia/geometry/boxes.py900 # -----------------STRING
MEDIUMkornia/geometry/calibration/pnp.py157 # ============STRING
MEDIUMkornia/geometry/calibration/pnp.py159 # ============STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py904 # ── Step 1: NMS maxima ────────────────────────────────────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py910 # ── Step 2: dilate NMS positions — L∞ ball of radius dilation_radius ────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py989 # ── Step 5: build a compact int32 lookup table ───────────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py1003 # ── Step 6: iterative lookup — no .any().item() sync ─────────────────────STRING
MEDIUMkornia/geometry/subpix/spatial_soft_argmax.py1067 # ── Write refined coordinates and corrected response ──────────────────────STRING
MEDIUMtests/filters/test_filters.py1358# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/augmentation/test_onnx_export.py231# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/augmentation/test_onnx_export.py242# ----------------------------------------------------------------------------COMMENT
MEDIUMtests/color/test_yuv.py27# ---------------------------------------------------------------------------------------------COMMENT
MEDIUMtests/color/test_yuv.py42# ---------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/feature/test_xfeat.py86# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/feature/test_xfeat.py88# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/feature/test_xfeat.py362# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/feature/test_xfeat.py364# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/feature/test_xfeat.py137# ---------------------------------------------------------------------------COMMENT
110 more matches not shown…
Cross-File Repetition39 hits · 195 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 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/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/models/segmentation/base.py0build objectdetector from config. this is a placeholder to satisfy the abstract method requirement. use kornia.contrib.oSTRING
HIGHkornia/contrib/edge_detection.py0build objectdetector from config. this is a placeholder to satisfy the abstract method requirement. use kornia.contrib.oSTRING
HIGHkornia/contrib/object_detection.py0build objectdetector from config. this is a placeholder to satisfy the abstract method requirement. use kornia.contrib.oSTRING
HIGHtests/feature/test_affine_shape_estimator.py0`gk` must be a real buffer so `.to()` moves it, and `forward` must not rebind it (#4069).STRING
HIGHtests/feature/test_local_features_orientation.py0`gk` must be a real buffer so `.to()` moves it, and `forward` must not rebind it (#4069).STRING
HIGHtests/feature/test_siftdesc.py0`gk` must be a real buffer so `.to()` moves it, and `forward` must not rebind it (#4069).STRING
HIGHtests/feature/test_affine_shape_estimator.py0`.to()` must carry the kernel along with the parameters. float16 rather than the default float32, or the dtype assertionSTRING
HIGHtests/feature/test_siftdesc.py0`.to()` must carry the kernel along with the parameters. float16 rather than the default float32, or the dtype assertionSTRING
HIGHtests/feature/test_local_features_orientation.py0`.to()` must carry the kernel along with the parameters. float16 rather than the default float32, or the dtype assertionSTRING
HIGHtests/feature/test_affine_shape_estimator.py0registered non-persistent, so existing checkpoints keep loading with strict=true.STRING
HIGHtests/feature/test_siftdesc.py0registered non-persistent, so existing checkpoints keep loading with strict=true.STRING
HIGHtests/feature/test_local_features_orientation.py0registered non-persistent, so existing checkpoints keep loading with strict=true.STRING
Modern Structural Boilerplate165 hits · 166 pts
SeverityFileLineSnippetContext
LOWconftest.py590def _setup_torch_compile() -> None:CODE
LOWkornia/config.py23__all__ = ["InstallationMode", "kornia_config"]CODE
LOWkornia/constants.py23__all__ = ["BorderType", "DType", "Resample", "SamplePadding", "TKEnum", "pi"]CODE
LOWkornia/filters/__init__.py69__all__ = [CODE
LOWkornia/filters/blur_pool.py31__all__ = [CODE
LOWkornia/metrics/__init__.py41__all__ = [CODE
LOWkornia/losses/__init__.py60__all__ = [CODE
LOWkornia/augmentation/__init__.py118__all__ = [CODE
LOWkornia/augmentation/base.py204 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.py32__all__ = ["RandomMosaic"]CODE
LOWkornia/augmentation/auto/__init__.py29__all__ = ["AutoAugment", "PolicyAugmentBase", "PolicySequential", "RandAugment", "TrivialAugment"]CODE
LOWkornia/augmentation/auto/base.py68 def _update_transform_matrix_for_valid_op(self, module: PolicySequential) -> None: # type: ignoreCODE
LOWkornia/augmentation/auto/operations/policy.py59 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/auto/operations/ops.py25__all__ = [CODE
LOWkornia/augmentation/utils/__init__.py57__all__ = [CODE
LOWkornia/augmentation/container/patch.py38__all__ = ["PatchSequential"]CODE
LOWkornia/augmentation/container/params.py22__all__ = ["ParamItem", "PatchParamItem"]CODE
LOWkornia/augmentation/container/augment.py45__all__ = ["AugmentationSequential"]CODE
LOWkornia/augmentation/container/augment.py397 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.py35__all__ = ["ImageSequential"]CODE
LOWkornia/augmentation/container/base.py34__all__ = ["BasicSequentialBase", "ImageSequentialBase", "SequentialBase"]CODE
LOW⚡kornia/augmentation/container/base.py486 def _update_transform_matrix_for_valid_op(self, module: nn.Module) -> None:CODE
LOW⚡kornia/augmentation/container/base.py489 def _update_transform_matrix_by_module(self, module: nn.Module) -> None:CODE
LOWkornia/augmentation/container/base.py500 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.py28__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.py34__all__ = ["AffineGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/shear.py33__all__ = ["ShearGenerator"]CODE
LOW…rnia/augmentation/random_generator/_2d/color_jitter.py32__all__ = ["ColorJitterGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/crop.py35__all__ = ["CropGenerator", "ResizedCropGenerator", "center_crop_generator"]CODE
LOW…/augmentation/random_generator/_2d/rectangle_earase.py32__all__ = ["RectangleEraseGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/resize.py28__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.py35__all__ = ["CutmixGenerator"]CODE
LOW…ia/augmentation/random_generator/_2d/gaussian_noise.py25__all__ = ["GaussianNoiseGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/motion_blur.py26__all__ = ["MotionBlurGenerator"]CODE
LOWkornia/augmentation/random_generator/_2d/mosaic.py29__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/download.py880def _settle_quarantine(path: str, quarantine: str, *, loaded: bool, downloaded: bool) -> None:CODE
LOWkornia/core/__init__.py36__all__ = [CODE
LOWkornia/core/exceptions.py26__all__ = [CODE
LOWkornia/core/safetensors.py37__all__ = ["check_safetensors", "load_safetensors"]CODE
LOWkornia/core/external.py28logger = logging.getLogger(__name__)CODE
LOWkornia/core/_small_linalg.py50__all__ = [CODE
LOWkornia/core/mixin/onnx.py301 def set_session(self, session: ort.InferenceSession) -> None: # type: ignoreCODE
105 more matches not shown…
Deep Nesting146 hits · 137 pts
SeverityFileLineSnippetContext
LOWkornia/filters/kernels.py641CODE
LOWkornia/metrics/mean_average_precision.py27CODE
LOWkornia/losses/ms_ssim.py193CODE
LOW…ia/augmentation/_2d/intensity/gaussian_illumination.py117CODE
LOW…rnia/augmentation/_2d/intensity/linear_illumination.py89CODE
LOW…rnia/augmentation/_2d/intensity/linear_illumination.py210CODE
LOWkornia/augmentation/_2d/intensity/salt_pepper_noise.py90CODE
LOWkornia/augmentation/_2d/geometric/crop.py160CODE
LOWkornia/augmentation/_2d/geometric/crop.py217CODE
LOWkornia/augmentation/_2d/geometric/crop.py293CODE
LOWkornia/augmentation/_2d/geometric/base.py225CODE
LOWkornia/augmentation/_2d/mix/base.py83CODE
LOWkornia/augmentation/_2d/mix/base.py263CODE
LOWkornia/augmentation/_2d/mix/mosaic.py145CODE
LOWkornia/augmentation/_2d/mix/mosaic.py231CODE
LOWkornia/augmentation/auto/autoaugment/autoaugment.py154CODE
LOWkornia/augmentation/auto/rand_augment/rand_augment.py159CODE
LOWkornia/augmentation/auto/operations/policy.py87CODE
LOWkornia/augmentation/utils/param_validation.py198CODE
LOWkornia/augmentation/utils/helpers.py508CODE
LOWkornia/augmentation/container/patch.py396CODE
LOWkornia/augmentation/container/augment.py566CODE
LOWkornia/augmentation/container/augment.py622CODE
LOWkornia/augmentation/container/augment.py661CODE
LOWkornia/augmentation/container/augment.py756CODE
LOWkornia/augmentation/container/ops.py331CODE
LOWkornia/augmentation/container/ops.py363CODE
LOWkornia/augmentation/container/ops.py461CODE
LOWkornia/augmentation/container/ops.py518CODE
LOWkornia/augmentation/container/ops.py582CODE
LOWkornia/augmentation/container/ops.py621CODE
LOWkornia/augmentation/container/ops.py674CODE
LOWkornia/augmentation/container/ops.py726CODE
LOWkornia/augmentation/container/ops.py772CODE
LOWkornia/augmentation/container/ops.py828CODE
LOWkornia/augmentation/container/video.py241CODE
LOWkornia/augmentation/container/image.py180CODE
LOWkornia/augmentation/container/image.py324CODE
LOWkornia/augmentation/_3d/geometric/crop.py140CODE
LOWkornia/core/check.py131CODE
LOWkornia/core/check.py272CODE
LOWkornia/core/check.py327CODE
LOWkornia/core/check.py467CODE
LOWkornia/core/download.py633CODE
LOWkornia/core/download.py998CODE
LOWkornia/core/download.py1250CODE
LOWkornia/core/ops.py37CODE
LOWkornia/core/safetensors.py355CODE
LOWkornia/core/mixin/image_module.py137CODE
LOWkornia/core/mixin/image_module.py198CODE
LOWkornia/core/mixin/image_module.py246CODE
LOWkornia/color/raw.py53CODE
LOWkornia/color/raw.py197CODE
LOWkornia/color/raw.py247CODE
LOWkornia/color/rgb.py164CODE
LOWkornia/io/io.py77CODE
LOWkornia/io/sample.py60CODE
LOWkornia/models/rrdbnet.py48CODE
LOWkornia/models/sam/model.py146CODE
LOWkornia/models/rt_detr/model.py112CODE
86 more matches not shown…
Excessive Try-Catch Wrapping69 hits · 76 pts
SeverityFileLineSnippetContext
LOWkornia/core/download.py984 except Exception as e:CODE
LOWkornia/core/download.py1184 except Exception as e: # noqa: BLE001CODE
LOWkornia/core/download.py1383 except Exception as e: # noqa: BLE001CODE
LOWkornia/io/io.py115 except Exception as e:CODE
LOWkornia/geometry/_ransac_program.py468 except Exception as error: # noqa: BLE001 - the AOT API is experimental; the traced program is equivalentCODE
LOWtests/augmentation/test_backward.py203 except Exception as e:CODE
MEDIUMtests/core/test_download.py2007def direct_torch_call() -> None:CODE
LOWtests/core/test_download.py2010 except Exception as e: # the server hanging up below is what ends itCODE
LOWtests/core/test_small_linalg.py441 except Exception as err:CODE
LOWtests/geometry/test_conversions.py4047 except Exception as err:CODE
LOWtests/geometry/test_conversions.py4520 except Exception as err:CODE
LOWtests/geometry/test_quaternion.py363 except Exception:CODE
LOWtests/geometry/transform/test_imgwarp.py185 except Exception:CODE
LOWdocs/source/conf.py147 except Exception as exc: # noqa: BLE001 - an optional dependency is missing; nothing to count thereCODE
LOWdocs/export_support/harness.py299 except Exception as e:CODE
LOWdocs/export_support/harness.py306 except Exception as e:CODE
LOWdocs/export_support/harness.py321 except Exception as e:CODE
LOWdocs/export_support/harness.py326 except Exception as e:CODE
LOWdocs/export_support/harness.py352 except Exception as e:CODE
LOWdocs/export_support/harness.py411 except Exception:CODE
LOWdocs/export_support/merge.py69 except Exception:CODE
LOWdocs/export_support/cases_models.py45 except Exception as e:CODE
LOWdocs/export_support/probe_compile.py131 except Exception as e:CODE
LOWdocs/export_support/cases_aug.py153 except Exception as e:CODE
LOWdocs/export_support/cases_aug.py181 except Exception as e:CODE
LOWdocs/export_support/cases_aug.py224 except Exception as e:CODE
LOWdocs/export_support/cases_aug.py251 except Exception as e:CODE
LOWdocs/export_support/cases_feature.py126 except Exception as e:CODE
LOWtesting/half_precision_ci.py402 except Exception as error: # noqa: BLE001 - every writer failure must preserve the previous candidate.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/common.py87 except Exception as exc:CODE
LOW⚡benchmarks/common.py114 except Exception:CODE
LOW⚡benchmarks/common.py118 except Exception:CODE
LOW⚡benchmarks/common.py126 except Exception:CODE
LOWbenchmarks/common.py220 except Exception: # noqa: S110CODE
LOWbenchmarks/common.py237 except Exception:CODE
LOWbenchmarks/common.py245 except Exception:CODE
LOWbenchmarks/common.py412 except Exception as exc:CODE
LOWbenchmarks/common.py621 except Exception as e:CODE
LOWbenchmarks/common.py626 except Exception as sync_err:CODE
LOWbenchmarks/filters/flagship.py255 except Exception:CODE
LOWbenchmarks/augmentation/per_op.py57 except Exception:CODE
LOWbenchmarks/augmentation/per_op.py136 except Exception as e:CODE
LOWbenchmarks/augmentation/per_op.py148 except Exception: # noqa: S112 - benchmark: an op that won't compile is just skippedCODE
LOWbenchmarks/augmentation/vs_torchvision.py58 except Exception:CODE
LOWbenchmarks/augmentation/vs_torchvision.py76 except Exception as e: # pragma: no cover - op/backend unsupported on this wheelCODE
LOW⚡benchmarks/augmentation/vs_torchvision.py160 except Exception as e:CODE
LOW⚡benchmarks/augmentation/vs_torchvision.py168 except Exception as e:CODE
LOW⚡benchmarks/augmentation/vs_torchvision.py173 except Exception as e:CODE
MEDIUMbenchmarks/augmentation/vs_torchvision.py55def _git_commit() -> str:CODE
LOWbenchmarks/augmentation/pipeline.py65 except Exception:CODE
LOWbenchmarks/augmentation/pipeline.py157 except Exception as e: # pragma: no cover - optional dependency / version driftCODE
LOWbenchmarks/augmentation/pipeline.py163 except Exception as e: # pragma: no cover - optional dependencyCODE
MEDIUMbenchmarks/augmentation/pipeline.py62def _git_commit() -> str:CODE
LOWbenchmarks/morphology/engines.py130 except Exception as sync_error:CODE
LOWbenchmarks/morphology/engines.py286 except Exception as exc:CODE
LOWbenchmarks/morphology/engines.py314 except Exception as exc:CODE
LOWbenchmarks/morphology/engines.py330 except Exception as exc:CODE
9 more matches not shown…
Empty Error Handlers11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHkornia/augmentation/container/image.py355except ValueError:CODE
HIGHkornia/core/download.py488except ValueError:CODE
HIGHkornia/core/download.py955except FileNotFoundError: # pragma: no cover - torch removed it itselfCODE
HIGHkornia/core/download.py732except FileNotFoundError:CODE
HIGHtests/geometry/test_boxes.py510except ValueError:CODE
HIGHtests/geometry/test_boxes.py516except ValueError:CODE
HIGHtests/geometry/test_boxes.py1548except ValueError:CODE
HIGHtests/geometry/test_boxes.py1554except ValueError:CODE
HIGHbenchmarks/common.py213except (OSError, AttributeError):CODE
HIGHbenchmarks/common.py220except Exception: # noqa: S110CODE
HIGHbenchmarks/common.py484except ImportError:CODE
Cross-Language Confusion11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHkornia/contrib/augmentation_audit.py186 """Serialize the report as strict JSON (nonfinite diagnostic values become null)."""STRING
HIGHkornia/geometry/quaternion.py345 # The negative real axis is the branch cut of the power: theta = pi and n = v / |v| is undefined, so the armSTRING
HIGHkornia/geometry/homography.py536 is undefined, so it is NaN rather than built from the identity ``safe_inverse_with_mask`` substitutes.CODE
HIGHkornia/geometry/homography.py588 return torch.where(rank8[:, None], null, torch.full_like(null, float("nan")))CODE
HIGHkornia/geometry/solvers/polynomial_solver.py254 undefined; this is a surrogate convention, not a mathematical Jacobian. A double root that theCODE
HIGHkornia/geometry/solvers/polynomial_solver.py942 when all four roots are real. A repeated-root Jacobian is undefined; repeated rootsCODE
HIGHtests/geometry/test_homography.py612 assert torch.equal(result[0], null)CODE
HIGHtests/geometry/test_quaternion.py191 # #4955 (fixed): on the negative real axis theta = pi and the axis n = v / |v| is undefined, so q**t returnedCOMMENT
HIGHtests/geometry/solvers/test_polynomial_solver.py573 # A repeated root's Jacobian is undefined; the surrogate stays finite and keeps the sum of the roots, -b / a.COMMENT
HIGHtests/geometry/transform/test_affine.py137 # Empty in and empty out is not undefined, so it comes back empty rather thanCOMMENT
HIGHbenchmarks/common.py179 """Write one run as strict-valid JSON ``{"metadata": ..., "results": [...]}`` (non-finite → null).STRING
Self-Referential Comments14 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUMkornia/models/segmentation/base.py187 # Create a colormap for each pixel based on the class with the highest probability. The colormap isCOMMENT
MEDIUMkornia/feature/sold2/backbones.py387 # Define the pixel shuffleCOMMENT
MEDIUMkornia/feature/sold2/sold2_detector.py356 # Define the distance toleranceCOMMENT
MEDIUM⚡tests/filters/test_dissolving.py40 # Create a dummy image tensor with shape [B, C, H, W], where B is the batch size.COMMENT
MEDIUM⚡tests/core/test_module.py46 # Create a sample PIL image for testingCOMMENT
MEDIUM⚡tests/core/test_module.py51 # Create a sample tensor for testingCOMMENT
MEDIUM⚡tests/core/test_module.py56 # Create a sample numpy array for testingCOMMENT
MEDIUMtests/onnx/test_sequential.py38 # Create a minimal ONNX model with an input and outputCOMMENT
MEDIUMtests/onnx/test_sequential.py68 # Create a small ONNX model as the return value of merge_modelsCOMMENT
MEDIUMtests/models/test_kimi_vl.py159 # Create a mask (B, N, N) or (B, 1, N, N)COMMENT
MEDIUMtests/models/test_sam_onnx.py59 # 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
MEDIUM⚡tests/geometry/test_quaternion.py303 # Create a quaternion with parameters to test gradient flowCOMMENT
MEDIUMtests/geometry/transform/test_affine.py955 # Define the expected shear matrix with controlled numbersCOMMENT
AI Slop Vocabulary20 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml351] # survey harness: subprocess workers, inline lambdas that build case inputsCODE
MEDIUMkornia/losses/charbonnier.py174 """Compute the Charbonnier robust regression loss.STRING
MEDIUMkornia/losses/geman_mcclure.py142 """Compute the Geman-McClure robust regression loss.STRING
MEDIUMkornia/losses/cauchy.py141 """Compute the Cauchy robust regression loss.STRING
MEDIUMkornia/losses/welsch.py144 """Compute the Welsch robust regression loss.STRING
LOWkornia/contrib/extract_patches.py92 # For now, just use the default paddingSTRING
LOWkornia/contrib/object_detection.py366 # If no class filtering is needed, just use a mask of all `True`COMMENT
MEDIUMkornia/feature/laf.py525 r"""Run ``grid_sample`` with border padding, robust across devices.STRING
MEDIUMkornia/geometry/ransac.py160 """Module for robust geometry estimation with RANSAC. https://en.wikipedia.org/wiki/Random_sample_consensus.STRING
MEDIUMtests/test_import.py84 # (kornia#4260), but pre-importing it here keeps the guard robust regardless.STRING
MEDIUMtests/filters/test_guided.py41# non-divisible sizes, float32 and float64 eps=0.1 and the harness's. bfloat16's 0.05 still catches only gross errorsCOMMENT
MEDIUMtests/filters/test_guided.py197 # harness's 1e-03, while every bfloat16 case fits inside _DTYPE_PRECISIONS already.COMMENT
MEDIUMtests/filters/test_guided.py440 # an outlier, the harness's 1-eps budget is simply too tight here. bfloat16 also cannotCOMMENT
MEDIUMtests/filters/test_guided.py442 # arithmetic runs. float16 and float32 still use the harness tolerances.COMMENT
MEDIUMtests/color/test_yuv.py142 # the error it budgets for. That is a harness-wide gap rather than a YUV one, and no TPU runsCOMMENT
MEDIUMtests/morphology/test_dilation.py689 # Compare at the harness's per-dtype tolerance rather than a strict nonzero() index list.COMMENT
MEDIUMtests/geometry/transform/test_elastic_transform.py220 # sigma=(0.3, 3.0) (large sigma_x) -- a robust ordering property, not an exact pixel list.COMMENT
MEDIUMdocs/export_support/cases_aug.py83 def eval(self): # keep the augmentation in train mode (harness calls .eval())CODE
MEDIUM.github/workflows/tests.yml271 # candidate and its completion receipt; recorder aborts and harness failuresCOMMENT
MEDIUM.github/workflows/upstream_probe.yml17# --record-known-failures mode, which only fails the job on a genuine harness problemCOMMENT
AI Structural Patterns38 hits · 38 pts
SeverityFileLineSnippetContext
LOWkornia/augmentation/_2d/intensity/color_jitter.py137CODE
LOWkornia/augmentation/_2d/intensity/color_jiggle.py196CODE
LOWkornia/augmentation/_2d/geometric/resized_crop.py114CODE
LOWkornia/augmentation/_2d/geometric/translate.py82CODE
LOWkornia/augmentation/_2d/geometric/affine.py108CODE
LOWkornia/augmentation/_2d/geometric/crop.py132CODE
LOWkornia/augmentation/_2d/geometric/elastic_transform.py75CODE
LOWkornia/augmentation/_2d/mix/cutmix.py113CODE
LOWkornia/augmentation/_2d/mix/mosaic.py116CODE
LOWkornia/augmentation/presets/ada.py102CODE
LOWkornia/augmentation/_3d/geometric/affine.py118CODE
LOWkornia/augmentation/_3d/geometric/crop.py114CODE
LOWkornia/models/tiny_vit.py534CODE
LOWkornia/models/vit.py220CODE
LOWkornia/models/efficient_vit/nn/ops.py65CODE
LOWkornia/models/efficient_vit/nn/ops.py286CODE
LOWkornia/models/efficient_vit/nn/ops.py423CODE
LOWkornia/models/sam/architecture/image_encoder.py59CODE
LOWkornia/models/sam/architecture/image_encoder.py163CODE
LOWkornia/models/sam3/architecture/image_encoder.py121CODE
LOWkornia/enhance/histogram.py225CODE
LOWkornia/feature/integrated.py329CODE
LOWkornia/feature/scale_space_detector.py255CODE
LOWkornia/feature/adalam/core.py269CODE
LOWkornia/feature/adalam/adalam.py148CODE
LOWkornia/feature/adalam/adalam.py221CODE
LOWkornia/feature/aliked/aliked.py567CODE
LOWkornia/feature/dedode/decoder.py76CODE
LOWkornia/feature/dedode/transformer/dinov2.py75CODE
LOWkornia/feature/dedode/transformer/layers/block.py62CODE
LOWkornia/geometry/ransac.py256CODE
LOWkornia/geometry/subpix/spatial_soft_argmax.py458CODE
LOWkornia/geometry/subpix/spatial_soft_argmax.py252CODE
LOWkornia/geometry/transform/image_registrator.py230CODE
LOWkornia/geometry/transform/affwarp.py931CODE
LOWdocs/export_support/harness.py70CODE
LOWdocs/export_support/cases_aug.py90CODE
LOWbenchmarks/common.py300CODE
TODO Padding25 hits · 38 pts
SeverityFileLineSnippetContext
LOWkornia/augmentation/container/video.py133 # TODO: implement transform_matrixSTRING
LOWkornia/image/draw.py26# TODO: implement width of the lineCOMMENT
LOWkornia/image/draw.py367 # TODO: implement optional linetypes for smooth edgesSTRING
LOWkornia/feature/dedode/dedode.py102 # TODO: implement steerers and mnn matchersSTRING
LOWkornia/geometry/vector.py30# TODO: implement more functionality to validateCOMMENT
LOWkornia/geometry/line.py186 # TODO: add tests, and possibly return a maskCOMMENT
LOWtests/color/test_colormap.py150 # TODO: implement differentiabilityCOMMENT
LOWtests/enhance/test_adjust.py1399 # TODO: implement meCOMMENT
LOWtests/enhance/test_adjust.py1495 # TODO: implement meCOMMENT
LOW⚡tests/geometry/test_depth.py141 # TODO: implement me with batchCOMMENT
LOWtests/geometry/test_depth.py109 # TODO: implement me with batchCOMMENT
LOWtests/geometry/test_plane.py29# TODO: implement the rest of methodsCOMMENT
LOWtests/geometry/test_plane.py95# TODO: implement the rest of methodsCOMMENT
LOWtests/geometry/liegroup/test_se3.py62 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se3.py111 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se3.py115 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se2.py118 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_se2.py122 # 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.py273 # TODO: implement meCOMMENT
LOWtests/geometry/liegroup/test_so3.py277 # TODO: implement meCOMMENT
LOW⚡tests/geometry/liegroup/test_so2.py89 # TODO: implement meCOMMENT
LOW⚡tests/geometry/liegroup/test_so2.py93 # TODO: implement meCOMMENT
LOW⚡tests/geometry/liegroup/test_so2.py97 # TODO: implement meCOMMENT
Redundant / Tautological Comments18 hits · 32 pts
SeverityFileLineSnippetContext
LOWkornia/core/mixin/onnx.py523 # Check if all ops are supported in the current IR versionCOMMENT
LOWkornia/image/draw.py286 # Check if polygons are in loop closed format, if not -> make it soSTRING
LOWkornia/geometry/bbox.py84 # Check if differences are within tolerance (1e-4)COMMENT
LOWtests/metrics/test_ssim3d.py176 # Check if both are tensorsCOMMENT
LOWtests/metrics/test_ssim3d.py199 # Check if same shapeCOMMENT
LOW⚡tests/losses/test_charbonnier.py45 # Check if both are tensorsCOMMENT
LOW⚡tests/losses/test_charbonnier.py56 # Check if same shapeCOMMENT
LOW⚡tests/losses/test_geman_macclure.py45 # Check if both are tensorsCOMMENT
LOW⚡tests/losses/test_geman_macclure.py56 # Check if same shapeCOMMENT
LOW⚡tests/losses/test_welcsh.py170 # Check if both are tensorsCOMMENT
LOW⚡tests/losses/test_welcsh.py181 # Check if same shapeCOMMENT
LOW⚡tests/losses/test_cauchy.py45 # Check if both are tensorsCOMMENT
LOW⚡tests/losses/test_cauchy.py56 # Check if same shapeCOMMENT
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