Customized Torchreid for pyppbox: Deep learning person re-identification.
Project description
Customized Torchreid
for pyppbox
Torchreid
is a library for deep-learning person re-identification using PyTorch.
pyppbox-torchreid
is a customized Torchreid
for pyppbox
and:
- Ensures that
Cython
natively works on all OS platform (Windows/Linux/macOS), - Enables freedom of passing local model/weight files from anywhere,
- Disables some models which are not used in
pyppbox
.
All source credit and more info -> Original KaiyangZhou's repo.
Install
Use Wheels from releases or directly install from PyPI:
pip install pyppbox-torchreid
Or install from GitHub directly:
pip install git+https://github.com/rathaumons/torchreid-for-pyppbox.git
To be able to run, you must install OpenCV and PyTorch; for example, with GPU support:
pip install opencv-contrib-python
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Note: PyTorch doesn't support GPU on macOS.
Build from source
(Optional, auto install) Building Wheels or source distribution only requires these modules:
pip install "setuptools>=67.2.0"
pip install "Cython>=0.29.32"
pip install "numpy>=1.23.5"
Recommend using build
for building both .whl
and .tar.gz
:
git clone https://github.com/rathaumons/torchreid-for-pyppbox/
cd torchreid-for-pyppbox
python -m pip install --upgrade pip
pip install wheel build
python -m build --sdist
python -m build --wheel
cd dist
After you install pyppbox-torchred
, OpenCV and PyTorch, you can check if Cython rank_cy
works:
cd pyppbox_torchreid/metrics/rank_cylib
python test_cython.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyppbox-torchreid-1.4.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 427244951651a5f0d08403cc87afacbc05abc91454a9efa9f7229c54b9570962 |
|
MD5 | 570712a90fa546ec59ff2c96f7f32cd4 |
|
BLAKE2b-256 | bffc190c96272ace0386889590d869806c269d5d5d7c5804cb3bb7a78b5e530e |
Hashes for pyppbox_torchreid-1.4.0.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5db673cda403810b72ee523b268e651cf37197c79965be8cb023460911a6b17 |
|
MD5 | ab5fa86e9bfe64070e64599b8556d821 |
|
BLAKE2b-256 | 50c924849d2821956fe86756f52d6264a8d620237ff938e7dcb4e72a46202856 |
Hashes for pyppbox_torchreid-1.4.0.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c217a0d5cfcdd95cc53294e57b464fcd79c405cf3791f3980228afc9cacc8662 |
|
MD5 | 66665cc2c663b6368206c3c7774ca3b4 |
|
BLAKE2b-256 | a181a2e840aaa55748b93e4af7b0af6f8c9a749d6b2393cb6ff0124af47fe6fe |
Hashes for pyppbox_torchreid-1.4.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 423284a29412f0668e490fe98ff487720ce210e596270d8d7cc980434d3c9486 |
|
MD5 | e3d732507e31c279dfb4fd41870cda49 |
|
BLAKE2b-256 | c29c9f8c6bf6db0aa7d39a9b5097bc437ad47991efee6c4b2a94c0129cf6a632 |
Hashes for pyppbox_torchreid-1.4.0.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb818ca3a2cb2b15e93fe65acc37a95ac3fc0d71ed82506fecc1f0b8c1477e93 |
|
MD5 | e86aa4f170ba2c8db48c987b459d36dc |
|
BLAKE2b-256 | 604ea1b70eb4836daa8874dd8fe5346c1b468d70d8c7c38e6caf1d3e2660efce |
Hashes for pyppbox_torchreid-1.4.0.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b864c5c22b7288d47c1ac43325afd94957243c625cd5e4431a38f8d2d9a4e1f |
|
MD5 | afd3bb479423b868ee0ef9cdf7bcd23c |
|
BLAKE2b-256 | a674f63adef8eace7019f24d385348b75971dcaf9f7faae842edc02a5006bcd1 |
Hashes for pyppbox_torchreid-1.4.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c326acefa31b54bfbb9043a3bbd9f248af40b423b512f765efd639a9f0f45f58 |
|
MD5 | 2cbf2ab1e60bbfa35449dcc0071a08c1 |
|
BLAKE2b-256 | fd2ab5cb6a47463c532e702b1e3c2613ae2e827e5341f5b06629c8db69ffa555 |
Hashes for pyppbox_torchreid-1.4.0.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50c756b346e7f453bd7fcd132e9ad7e1ed905a42d7835f9f639b0b09f5e839a3 |
|
MD5 | 47ee8e7aa0c767152355d7c778bc41de |
|
BLAKE2b-256 | db012c1f61308c341ec73686917f2df23b586115acc23988b2e233324eedc15d |
Hashes for pyppbox_torchreid-1.4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d99388fe1ab0c5a2e5783d1eed4b14e8aee169505220f13f8d8636958f9004b |
|
MD5 | a9b03c87dbfd6da7412ea6685a2e134c |
|
BLAKE2b-256 | 1ce159be4034692d6c774e92a5c9dc56de273340af300769182ca7828ce83e64 |
Hashes for pyppbox_torchreid-1.4.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3358542afe00e076263aadecaa0b6d5b5e91ab78975213593bc7d05c11dd21 |
|
MD5 | 11a6ef5c39be6cba1b79ff3d21b8602e |
|
BLAKE2b-256 | 9003ae2aff1763fffef0f4dc7f48f824177c20a11da16c4d0430ebe54d9bd0a9 |
Hashes for pyppbox_torchreid-1.4.0.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3eb340149dd0eb3d46d87618d3dd9d38480c38d24b0dd4be85d08b237bec500 |
|
MD5 | e7b6747b97fd30263ba11bc3a46d8496 |
|
BLAKE2b-256 | 2e56e954791df5a93c8468ab027c1dc1ece34ed87a793214b2d1a2e0910db517 |
Hashes for pyppbox_torchreid-1.4.0.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788da98ccba4ddf23556798c4ef85e3ea0672191cdc6c848062a4ad7338406d8 |
|
MD5 | b92adbcf7a4886f0c703b6720dfb8d3d |
|
BLAKE2b-256 | b4b0a98dabc741ba1a04a951a87dbb34d186625394f0c49d319cd434ad318788 |
Hashes for pyppbox_torchreid-1.4.0.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bf4da1ccd5876d80945a174bb04ae495a4a022cc2e25b242edd41f26e759c8a |
|
MD5 | 6d01f325f171c3c67672cfaea094732c |
|
BLAKE2b-256 | 2693fbff33a9f1fc7f567ec31a20ebf8518c830128f5f3b824018b5ad8a6242f |
Hashes for pyppbox_torchreid-1.4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6230fdf0ea40981abd85a5d0ed917185cdc1bc6f60e09a520d9646b6d7299d0 |
|
MD5 | 4006759d652025e22f95770a02deba1a |
|
BLAKE2b-256 | f2d8557a8ff52de35b5023e85e3b117bf44871b9be0d7faef9394d6b9df590cb |
Hashes for pyppbox_torchreid-1.4.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9438588ee3962c7b745082a0a2d01dc5b2ac86a0b0ac1b636c0becb9c0fe3025 |
|
MD5 | 95f4af31fbc9c4e3f4d857b9de41cda5 |
|
BLAKE2b-256 | 34670245b71f9fa9f39d1266f1a9f61034e0c697cffdc195fe1363dcab7354c7 |
Hashes for pyppbox_torchreid-1.4.0.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89bb2fe2f0ef0dd5a6346ec675cf336111b8d26bfbd06ca1bb36c3c2161dd4c2 |
|
MD5 | 00810a8a0eb4c1a08b28b61f241ca57f |
|
BLAKE2b-256 | 5bf6e892aa792dea1eeda9949bccc5ef823dda710c22e9a71e9b3a17314ea5aa |
Hashes for pyppbox_torchreid-1.4.0.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba01a9fee6697882618396438fc75ed547fa60da73f06ccc9b7ac79feedc9cfc |
|
MD5 | 8bb6c0e503e3155f1497c18c5e4c92f8 |
|
BLAKE2b-256 | 9de596bbf1ef6d829c39f5f32682736e5d82742aa5bd7c78cbd3827601513777 |
Hashes for pyppbox_torchreid-1.4.0.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8957b3d7f16d6d46b0e007446e572190512258272750650a23a2baded08dc5d |
|
MD5 | d1e0e214926e3e5901c58cd77495d8a5 |
|
BLAKE2b-256 | c6119b886238d7e1eb8d918d5eb80e8d4eb2facca79761da09115fbc76b48f3f |
Hashes for pyppbox_torchreid-1.4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60c900d9740f309b441ab17b4fd4e515c543c3b12af85e7fccd5a7fc6691711 |
|
MD5 | 79a02bf9881e478f23b310c85897ed55 |
|
BLAKE2b-256 | 95635a5fa4128f4ceebdd0c01c2240897ed49807e22aebefefb70f239049e35e |
Hashes for pyppbox_torchreid-1.4.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88ebe61ce056bd34dd116e8f398e54a32caa8f6b672c53509a1f4a8c484b6e3 |
|
MD5 | 2172aa942d70d268b4754202b4316570 |
|
BLAKE2b-256 | fe68b01a13dfc87f5effdd9c92ce95418e82aba432753f584eb2e519579bf4bf |
Hashes for pyppbox_torchreid-1.4.0.2-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0acc39c99efc0e27b626ef556bf76003038ceeff0c870a177c3b8908ce272b |
|
MD5 | e29c937b176788fe505f6bbc1e2d7db8 |
|
BLAKE2b-256 | 5123dd06447f559f99caf20ddc9ed2397591e1d0327545de31ce492a442b2e67 |