codelor-color 2.2.1__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codelor_color-2.2.1 → codelor_color-2.2.2}/CHANGELOG.md +10 -0
- {codelor_color-2.2.1/codelor_color.egg-info → codelor_color-2.2.2}/PKG-INFO +1 -1
- codelor_color-2.2.2/codelor_color/_version.py +1 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color/model.py +3 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2/codelor_color.egg-info}/PKG-INFO +1 -1
- codelor_color-2.2.1/codelor_color/_version.py +0 -1
- {codelor_color-2.2.1 → codelor_color-2.2.2}/LICENSE +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/MANIFEST.in +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/README.md +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color/__init__.py +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color.egg-info/SOURCES.txt +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color.egg-info/dependency_links.txt +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color.egg-info/requires.txt +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/codelor_color.egg-info/top_level.txt +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/pyproject.toml +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/requirements.txt +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/setup.cfg +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/tests/conftest.py +0 -0
- {codelor_color-2.2.1 → codelor_color-2.2.2}/tests/test_model.py +0 -0
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.2.2] - 2026-10-21
|
|
6
|
+
|
|
7
|
+
Patch release fixing the remaining mypy error from CI.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- `SobelEdge` declares its `sx`/`sy` buffers with class annotations so mypy
|
|
12
|
+
types them as `Tensor` (previously `Tensor | Module`, which broke
|
|
13
|
+
`F.conv2d`). No behaviour change: buffers and `state_dict` keys are identical.
|
|
14
|
+
|
|
5
15
|
## [2.2.1] - 2026-10-21
|
|
6
16
|
|
|
7
17
|
Patch release: the 2.2.0 files already on PyPI cannot be replaced (PyPI
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.2"
|
|
@@ -256,6 +256,9 @@ class ConvNeXtStem(nn.Module):
|
|
|
256
256
|
class SobelEdge(nn.Module):
|
|
257
257
|
"""Fixed Sobel X/Y filters returning the gradient magnitude of a gray image."""
|
|
258
258
|
|
|
259
|
+
sx: Tensor
|
|
260
|
+
sy: Tensor
|
|
261
|
+
|
|
259
262
|
def __init__(self) -> None:
|
|
260
263
|
super().__init__()
|
|
261
264
|
sx = torch.tensor([[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]]).float().view(1, 1, 3, 3)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|