deepvisiontools 0.0.2__tar.gz → 0.0.3__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.
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/PKG-INFO +1 -1
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/__init__.py +1 -1
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/base_data.py +4 -1
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/PKG-INFO +1 -1
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/LICENSE.txt +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/README.md +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/pyproject.toml +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/setup.cfg +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/setup.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/config/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/config/config.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/config/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/additional_augmentations.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/augmentation_class.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/batch_augmentations.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/data_reader/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/data_reader/readers.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/dataset.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/base_formats.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/formats.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/formats/utils.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/inference/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/inference/patchifier.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/inference/predictor.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/available_metrics.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/base_metric.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/func.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/matcher.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/utils.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/basemodel.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/mask2former/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/mask2former/mask2former.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/smp/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/smp/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/smp/smp.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8/utils.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8/yolov8.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/utils.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/yolov8seg.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/preprocessing/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/preprocessing/image.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/preprocessing/preprocessing.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/train/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/train/trainer.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/utils/__init__.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/utils/errors.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/utils/visualization.py +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/SOURCES.txt +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/dependency_links.txt +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/requires.txt +0 -0
- {deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: deepvisiontools
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Overlay of PyTorch to generalize trainning and inference processes for detection & instance segmentation tasks.
|
|
5
5
|
Author-email: Lucas Bernigaud Samatan <lucas.bernigaud-samatan@inrae.fr>, Jordan Bernigaud Samatan <jordan.bernigaud-samatan@inrae.fr>
|
|
6
6
|
Maintainer-email: Jordan Bernigaud Samatan <jordan.bernigaud-samatan@inrae.fr>
|
|
@@ -4,7 +4,7 @@ from deepvisiontools.data.dataset import DeepVisionDataset, DeepVisionLoader
|
|
|
4
4
|
from deepvisiontools.utils import visualization
|
|
5
5
|
from deepvisiontools.inference.predictor import Predictor
|
|
6
6
|
|
|
7
|
-
__version__ = "0.0.
|
|
7
|
+
__version__ = "0.0.3"
|
|
8
8
|
|
|
9
9
|
__all__ = (
|
|
10
10
|
Configuration,
|
|
@@ -176,7 +176,10 @@ class SemanticMaskData(BaseData):
|
|
|
176
176
|
if torch.count_nonzero(new_val == cls) < m_min_size:
|
|
177
177
|
new_val[new_val == cls] = 0
|
|
178
178
|
if self._scores != None:
|
|
179
|
-
|
|
179
|
+
if Configuration().num_classes == 1:
|
|
180
|
+
new_scores[new_val == cls] = 0
|
|
181
|
+
else:
|
|
182
|
+
new_scores[:, new_val[:] == cls] = 0
|
|
180
183
|
else:
|
|
181
184
|
# class is preserved and written in present tensor
|
|
182
185
|
present.append(i - 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: deepvisiontools
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Overlay of PyTorch to generalize trainning and inference processes for detection & instance segmentation tasks.
|
|
5
5
|
Author-email: Lucas Bernigaud Samatan <lucas.bernigaud-samatan@inrae.fr>, Jordan Bernigaud Samatan <jordan.bernigaud-samatan@inrae.fr>
|
|
6
6
|
Maintainer-email: Jordan Bernigaud Samatan <jordan.bernigaud-samatan@inrae.fr>
|
|
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
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/additional_augmentations.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/augmentation_class.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/batch_augmentations.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/data_reader/__init__.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/data/data_reader/readers.py
RENAMED
|
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
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/metrics/available_metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/mask2former/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/__init__.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/errors.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/utils.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/models/yolov8seg/yolov8seg.py
RENAMED
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/preprocessing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools/preprocessing/preprocessing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{deepvisiontools-0.0.2 → deepvisiontools-0.0.3}/src/deepvisiontools.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|