Skip to content

Feat: Multi-Input Support #983

Feat: Multi-Input Support

Feat: Multi-Input Support #983

Triggered via pull request June 5, 2025 13:05
Status Failure
Total duration 1m 59s
Artifacts

ci.yaml

on: pull_request
pre-commit
11s
pre-commit
auto-assigner
5s
auto-assigner
labeler
4s
labeler
update-base-report
0s
update-base-report
check-release-requirements
0s
check-release-requirements
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Semgrep Issue: examples/utils/torch_utils.py#L90
Functions reliant on pickle can result in arbitrary code execution. Consider loading from `state_dict`, using fickling, or switching to a safer serialization method like ONNX
Semgrep Issue: examples/utils/torch_utils.py#L89
Functions reliant on pickle can result in arbitrary code execution. Consider loading from `state_dict`, using fickling, or switching to a safer serialization method like ONNX
Semgrep Issue: examples/utils/torch_utils.py#L82
Functions reliant on pickle can result in arbitrary code execution. Consider loading from `state_dict`, using fickling, or switching to a safer serialization method like ONNX
Semgrep Issue: examples/utils/torch_utils.py#L81
Functions reliant on pickle can result in arbitrary code execution. Consider loading from `state_dict`, using fickling, or switching to a safer serialization method like ONNX
type-check
1 error
type-check: tests/test_data/test_multi_input.py#L59
Argument of type "dict[str, str]" cannot be assigned to parameter "color_space" of type "dict[str, Literal['RGB', 'BGR', 'GRAY']] | Literal['RGB', 'BGR', 'GRAY'] | None" in function "__init__"   Type "dict[str, str]" is not assignable to type "dict[str, Literal['RGB', 'BGR', 'GRAY']] | Literal['RGB', 'BGR', 'GRAY'] | None"     "dict[str, str]" is not assignable to "dict[str, Literal['RGB', 'BGR', 'GRAY']]"       Type parameter "_VT@dict" is invariant, but "str" is not the same as "Literal['RGB', 'BGR', 'GRAY']"       Consider switching from "dict" to "Mapping" which is covariant in the value type     "dict[str, str]" is not assignable to "None"     "dict[str, str]" is not assignable to "Literal['RGB']"     "dict[str, str]" is not assignable to "Literal['BGR']"     "dict[str, str]" is not assignable to "Literal['GRAY']" (reportArgumentType)