pyppbox 3.6b7__tar.gz → 3.6b8__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.
- {pyppbox-3.6b7 → pyppbox-3.6b8}/GETSTARTED.md +1 -1
- {pyppbox-3.6b7/pyppbox.egg-info → pyppbox-3.6b8}/PKG-INFO +1 -1
- {pyppbox-3.6b7 → pyppbox-3.6b8}/RELEASENOTES.md +8 -1
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/__init__.py +1 -1
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +4 -3
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/ppb/mt.py +5 -5
- {pyppbox-3.6b7 → pyppbox-3.6b8/pyppbox.egg-info}/PKG-INFO +1 -1
- {pyppbox-3.6b7 → pyppbox-3.6b8}/LICENSE +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/MANIFEST.in +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/README.md +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/cfg.zip +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/detectors.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/main.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/reiders.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/trackers.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/configtools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/myconfig.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/strings/strings.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/strings/strings.zip +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/unifiedstrings.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/datasets/.gitignore +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/logs/.gitignore +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/modules/.gitignore +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/res/.gitignore +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/res/idmap.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/TReID.png +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/icon.ico +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/settings.ico +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guidemo.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guihub.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guitools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/tmp/input.tmp +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/tmp/ui.tmp +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_centroid.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_deepsort.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_facenet.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_gt.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_launcher.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_sort.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_torchreid.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_yolocls.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_yoloult.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/sort/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/ppb/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/standalone/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/__init__.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/commontools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/evatools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/gttools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/logtools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/mot2pyppbox.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/persontools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/restools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/visualizetools.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/SOURCES.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/dependency_links.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/requires.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/top_level.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/pyproject.toml +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/README.md +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/requirements.txt +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/test_gpu.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/setup.cfg +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/setup.py +0 -0
- {pyppbox-3.6b7 → pyppbox-3.6b8}/setup_extra.yaml +0 -0
|
@@ -24,7 +24,7 @@ All requirements are not strictly limited. However, some specific modules might
|
|
|
24
24
|
pip uninstall -y ultralytics
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
* Install dependencies/
|
|
27
|
+
* Install dependencies/requirements under `pyppbox/requirements/`:
|
|
28
28
|
- On ***Windows***, recommend using the `cmd` installer:
|
|
29
29
|
- For GPU (CUDA): `install_req_py3_cuda121.cmd` (Or `install_req_py3_cuda.cmd` for CUDA 11.8)
|
|
30
30
|
- For CPU-only: `install_req_py3_cpu.cmd` (Or skip this and go straight to Setup section below)
|
|
@@ -12,7 +12,14 @@
|
|
|
12
12
|
|
|
13
13
|
## **pyppbox V3 - Make Simpler and Faster**
|
|
14
14
|
|
|
15
|
-
* `pyppbox` [v3.
|
|
15
|
+
* `pyppbox` [v3.6b8](https://github.com/rathaumons/pyppbox/tree/v3.6b8) - The Last V3
|
|
16
|
+
|
|
17
|
+
- Fix FaceNet alignment issue in data preparation for training
|
|
18
|
+
- Update and improve documentations
|
|
19
|
+
- **Known issue/limitation**:
|
|
20
|
+
- You tell me :)
|
|
21
|
+
|
|
22
|
+
* `pyppbox` [v3.6b7](https://github.com/rathaumons/pyppbox/tree/v3.6b7) - ~~The Last V3~~
|
|
16
23
|
|
|
17
24
|
- Improve examples
|
|
18
25
|
- Improve requirements
|
|
@@ -47,7 +47,7 @@ from pyppbox.gui.guitools import (
|
|
|
47
47
|
)
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
__version__ = '3.
|
|
50
|
+
__version__ = '3.6b8'
|
|
51
51
|
__author__ = 'Ratha SIV'
|
|
52
52
|
__description__ = 'Toolbox for people detecting, tracking, and re-identifying.'
|
|
53
53
|
__homepage__ = 'https://rathaumons.github.io/pyppbox'
|
{pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py
RENAMED
|
@@ -48,8 +48,8 @@ def main(args):
|
|
|
48
48
|
if not os.path.exists(output_dir):
|
|
49
49
|
os.makedirs(output_dir)
|
|
50
50
|
# Store some git revision info in a text file in the log directory
|
|
51
|
-
src_path,_ = os.path.split(os.path.realpath(__file__))
|
|
52
|
-
facenet.store_revision_info(src_path, output_dir, ' '.join(sys.argv))
|
|
51
|
+
# src_path,_ = os.path.split(os.path.realpath(__file__))
|
|
52
|
+
# facenet.store_revision_info(src_path, output_dir, ' '.join(sys.argv))
|
|
53
53
|
dataset = facenet.get_dataset(args.input_dir)
|
|
54
54
|
|
|
55
55
|
print('Creating networks and loading parameters')
|
|
@@ -87,7 +87,7 @@ def main(args):
|
|
|
87
87
|
print(image_path)
|
|
88
88
|
if not os.path.exists(output_filename):
|
|
89
89
|
try:
|
|
90
|
-
img = imageio.imread(image_path)
|
|
90
|
+
img = imageio.v2.imread(image_path)
|
|
91
91
|
except (IOError, ValueError, IndexError) as e:
|
|
92
92
|
errorMessage = '{}: {}'.format(image_path, e)
|
|
93
93
|
print(errorMessage)
|
|
@@ -135,6 +135,7 @@ def main(args):
|
|
|
135
135
|
output_filename_n = "{}_{}{}".format(filename_base, i, file_extension)
|
|
136
136
|
else:
|
|
137
137
|
output_filename_n = "{}{}".format(filename_base, file_extension)
|
|
138
|
+
scaled = (scaled * 255).astype(np.uint8)
|
|
138
139
|
imageio.imwrite(output_filename_n, scaled)
|
|
139
140
|
text_file.write('%s %d %d %d %d\n' % (output_filename_n, bb[0], bb[1], bb[2], bb[3]))
|
|
140
141
|
else:
|
|
@@ -966,15 +966,15 @@ class MT(object):
|
|
|
966
966
|
----------
|
|
967
967
|
reider : str or dict, default="Default"
|
|
968
968
|
A supported name, a raw/ready dictionary, or a YAML/JSON file which is passed to
|
|
969
|
-
:func:`setMainReIDer(reider=reider
|
|
969
|
+
:func:`setMainReIDer()`, where `reider=reider`, and `auto_load=False`.
|
|
970
970
|
train_data : str, default=""
|
|
971
|
-
A path of data
|
|
971
|
+
A path of data used for training, where consists of 2 or more sub-folders which classify
|
|
972
972
|
2 or more people. Set :code:`train_data=""` or keep default to use the configured
|
|
973
|
-
:obj:`train_data`
|
|
973
|
+
:obj:`train_data` as set in the given :code:`reider`. All images in this sub-folders
|
|
974
974
|
must be 128x256 for Torchreid and 182x182 for FaceNet.
|
|
975
975
|
classifier_pkl : str, default=""
|
|
976
|
-
A file path for the classifier PKL file. Set :code:`classifier_pkl=""` or keep
|
|
977
|
-
to use the configured :obj:`classifier_pkl` in the
|
|
976
|
+
A file path for the output classifier PKL file. Set :code:`classifier_pkl=""` or keep the
|
|
977
|
+
default to use the configured :obj:`classifier_pkl` as set in the given :obj:`reider`.
|
|
978
978
|
"""
|
|
979
979
|
self.setMainReIDer(reider=reider, auto_load=False)
|
|
980
980
|
if self.__ri_is_set__:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
{pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|