sw-inference 0.0.8__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.
- sw_inference-0.0.8/.gitignore +97 -0
- sw_inference-0.0.8/LICENSE +661 -0
- sw_inference-0.0.8/MANIFEST.in +25 -0
- sw_inference-0.0.8/PKG-INFO +161 -0
- sw_inference-0.0.8/README.md +117 -0
- sw_inference-0.0.8/examples/basic_inference.py +118 -0
- sw_inference-0.0.8/pyproject.toml +104 -0
- sw_inference-0.0.8/setup.cfg +4 -0
- sw_inference-0.0.8/sw_inference/__init__.py +43 -0
- sw_inference-0.0.8/sw_inference/_version.py +34 -0
- sw_inference-0.0.8/sw_inference/core/__init__.py +1 -0
- sw_inference-0.0.8/sw_inference/core/base.py +162 -0
- sw_inference-0.0.8/sw_inference/core/config.py +126 -0
- sw_inference-0.0.8/sw_inference/core/detections.py +253 -0
- sw_inference-0.0.8/sw_inference/core/patching.py +984 -0
- sw_inference-0.0.8/sw_inference/core/types.py +10 -0
- sw_inference-0.0.8/sw_inference/core/utils.py +69 -0
- sw_inference-0.0.8/sw_inference/inference.py +282 -0
- sw_inference-0.0.8/sw_inference/libs/__init__.py +1 -0
- sw_inference-0.0.8/sw_inference/libs/lib_onnxruntime_ops.dll +0 -0
- sw_inference-0.0.8/sw_inference/libs/lib_onnxruntime_ops.so +0 -0
- sw_inference-0.0.8/sw_inference/libs/libonnxruntime.so.1.15.1 +0 -0
- sw_inference-0.0.8/sw_inference/libs/onnxruntime.dll +0 -0
- sw_inference-0.0.8/sw_inference/models/__init__.py +1 -0
- sw_inference-0.0.8/sw_inference/models/instance_segmentation.py +331 -0
- sw_inference-0.0.8/sw_inference/models/object_detection.py +283 -0
- sw_inference-0.0.8/sw_inference/models/sw.py +308 -0
- sw_inference-0.0.8/sw_inference/utils/__init__.py +1 -0
- sw_inference-0.0.8/sw_inference/utils/iou_and_nms.py +570 -0
- sw_inference-0.0.8/sw_inference/utils/masks.py +113 -0
- sw_inference-0.0.8/sw_inference.egg-info/PKG-INFO +161 -0
- sw_inference-0.0.8/sw_inference.egg-info/SOURCES.txt +33 -0
- sw_inference-0.0.8/sw_inference.egg-info/dependency_links.txt +1 -0
- sw_inference-0.0.8/sw_inference.egg-info/requires.txt +25 -0
- sw_inference-0.0.8/sw_inference.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
# But keep bundled libraries
|
|
9
|
+
!sw_inference/libs/*.so
|
|
10
|
+
!sw_inference/libs/*.so.*
|
|
11
|
+
|
|
12
|
+
# Distribution / packaging
|
|
13
|
+
.Python
|
|
14
|
+
build/
|
|
15
|
+
develop-eggs/
|
|
16
|
+
dist/
|
|
17
|
+
downloads/
|
|
18
|
+
eggs/
|
|
19
|
+
.eggs/
|
|
20
|
+
lib/
|
|
21
|
+
lib64/
|
|
22
|
+
parts/
|
|
23
|
+
sdist/
|
|
24
|
+
var/
|
|
25
|
+
wheels/
|
|
26
|
+
*.egg-info/
|
|
27
|
+
.installed.cfg
|
|
28
|
+
*.egg
|
|
29
|
+
|
|
30
|
+
# PyInstaller
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Unit test / coverage reports
|
|
35
|
+
htmlcov/
|
|
36
|
+
.tox/
|
|
37
|
+
.nox/
|
|
38
|
+
.coverage
|
|
39
|
+
.coverage.*
|
|
40
|
+
.cache
|
|
41
|
+
nosetests.xml
|
|
42
|
+
coverage.xml
|
|
43
|
+
*.cover
|
|
44
|
+
.hypothesis/
|
|
45
|
+
.pytest_cache/
|
|
46
|
+
|
|
47
|
+
# Jupyter Notebook
|
|
48
|
+
.ipynb_checkpoints
|
|
49
|
+
|
|
50
|
+
# pyenv
|
|
51
|
+
.python-version
|
|
52
|
+
|
|
53
|
+
# Virtual environments
|
|
54
|
+
venv/
|
|
55
|
+
ENV/
|
|
56
|
+
env/
|
|
57
|
+
.venv
|
|
58
|
+
|
|
59
|
+
# IDE
|
|
60
|
+
.vscode/
|
|
61
|
+
.idea/
|
|
62
|
+
*.swp
|
|
63
|
+
*.swo
|
|
64
|
+
*~
|
|
65
|
+
.DS_Store
|
|
66
|
+
|
|
67
|
+
# Model files
|
|
68
|
+
*.onnx
|
|
69
|
+
*.pth
|
|
70
|
+
*.pt
|
|
71
|
+
*.weights
|
|
72
|
+
|
|
73
|
+
# Data
|
|
74
|
+
data/
|
|
75
|
+
datasets/
|
|
76
|
+
*.jpg
|
|
77
|
+
*.jpeg
|
|
78
|
+
*.png
|
|
79
|
+
*.gif
|
|
80
|
+
*.bmp
|
|
81
|
+
*.tiff
|
|
82
|
+
|
|
83
|
+
# Logs
|
|
84
|
+
logs/
|
|
85
|
+
*.log
|
|
86
|
+
|
|
87
|
+
# mypy
|
|
88
|
+
.mypy_cache/
|
|
89
|
+
.dmypy.json
|
|
90
|
+
dmypy.json
|
|
91
|
+
|
|
92
|
+
# Playground/debugging files
|
|
93
|
+
playground.py
|
|
94
|
+
playground_*.py
|
|
95
|
+
|
|
96
|
+
# Generated version file
|
|
97
|
+
sw_inference/_version.py
|