Comments (25)
@shliang0603 Check #1, and make sure all packages are installed in install_jetson.sh
. It looks like Numba is not installed correctly.
from fastmot.
@GeekAlexis Thank for your replay, I haved install numba. The following is my python packages:
zhihui@zhihui-desktop:~/project/FastMOT$ pip3 list
Package Version
--------------------------------- -------------------
absl-py 0.11.0
appdirs 1.4.4
apt-clone 0.2.1
apturl 0.5.2
argon2-cffi 20.1.0
asn1crypto 0.24.0
astor 0.8.1
async-generator 1.10
attrs 20.3.0
backcall 0.2.0
beautifulsoup4 4.6.0
bleach 3.2.1
blinker 1.4
Brlapi 0.6.6
certifi 2018.1.18
cffi 1.14.3
chardet 3.0.4
cryptography 2.1.4
cupshelpers 1.0
cycler 0.10.0
Cython 0.29.21
cython-bbox 0.1.3
dataclasses 0.8
decorator 4.4.2
defer 1.0.6
defusedxml 0.6.0
distro-info 0.18ubuntu0.18.04.1
easydict 1.9
entrypoints 0.3
feedparser 5.2.1
future 0.18.2
gast 0.2.2
google-pasta 0.2.0
graphsurgeon 0.4.5
grpcio 1.33.2
h5py 2.10.0
html5lib 0.999999999
httplib2 0.9.2
idna 2.6
importlib-metadata 3.1.0
ipykernel 5.3.4
ipython 7.16.1
ipython-genutils 0.2.0
ipywidgets 7.5.1
jedi 0.17.2
jetson-stats 3.0.2
Jetson.GPIO 2.0.11
Jinja2 2.11.2
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.1.7
jupyter-console 6.2.0
jupyter-contrib-core 0.3.3
jupyter-contrib-nbextensions 0.5.1
jupyter-core 4.7.0
jupyter-highlight-selected-word 0.2.0
jupyter-latex-envs 1.4.6
jupyter-nbextensions-configurator 0.4.1
jupyterlab-pygments 0.1.2
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.1
keyring 10.6.0
keyrings.alt 3.0
language-selector 0.1
launchpadlib 1.10.6
lazr.restfulclient 0.13.5
lazr.uri 1.0.3
llvmlite 0.34.0
louis 3.5.0
lxml 4.6.1
macaroonbakery 1.1.3
Mako 1.1.3
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 2.1.1
mistune 0.8.4
mock 3.0.5
nbclient 0.5.1
nbconvert 6.0.7
nbformat 5.0.8
nest-asyncio 1.4.3
notebook 6.1.5
numba 0.51.2
numpy 1.16.1
oauth 1.0.1
oauthlib 2.0.6
olefile 0.45.1
onboard 1.4.1
opt-einsum 3.3.0
packaging 20.4
PAM 0.4.2
pandas 0.22.0
pandocfilters 1.4.3
parso 0.7.1
pbr 5.5.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 5.1.0
pip 20.2.4
prometheus-client 0.9.0
prompt-toolkit 3.0.8
protobuf 3.14.0
ptyprocess 0.6.0
pybind11 2.6.0
pycairo 1.16.2
pycparser 2.20
pycrypto 2.6.1
pycuda 2019.1.2
pycups 1.9.73
Pygments 2.7.2
pygobject 3.26.1
PyICU 1.9.8
PyJWT 1.5.3
pymacaroons 0.13.0
PyNaCl 1.1.2
pyparsing 2.4.7
pyRFC3339 1.0
pyrsistent 0.17.3
python-apt 1.6.5+ubuntu0.3
python-dateutil 2.8.1
python-debian 0.1.32
pytools 2020.4.3
pytz 2018.3
pyxattr 0.6.0
pyxdg 0.25
PyYAML 5.3.1
pyzmq 20.0.0
qtconsole 5.0.0
QtPy 1.9.0
requests 2.18.4
requests-unixsocket 0.1.5
scipy 1.4.1
SecretStorage 2.3.1
Send2Trash 1.5.0
setuptools 49.6.0
simplejson 3.13.2
six 1.15.0
ssh-import-id 5.7
system-service 0.3
systemd-python 234
tensorboard 1.15.0
tensorflow 1.15.3+nv20.9
tensorflow-estimator 1.15.1
tensorrt 7.1.3.0
termcolor 1.1.0
terminado 0.9.1
testpath 0.4.4
testresources 2.0.1
torch 1.6.0
torchvision 0.7.0a0+78ed10c
tornado 6.1
tqdm 4.43.0
traitlets 4.3.3
ubuntu-drivers-common 0.0.0
uff 0.6.9
unity-scope-calculator 0.1
unity-scope-chromiumbookmarks 0.1
unity-scope-colourlovers 0.1
unity-scope-devhelp 0.1
unity-scope-firefoxbookmarks 0.1
unity-scope-manpages 0.1
unity-scope-openclipart 0.1
unity-scope-texdoc 0.1
unity-scope-tomboy 0.1
unity-scope-virtualbox 0.1
unity-scope-yelp 0.1
unity-scope-zotero 0.1
urllib3 1.22
urwid 2.0.1
wadllib 1.3.2
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 1.0.1
wheel 0.30.0
widgetsnbextension 3.5.1
wrapt 1.12.1
xkit 0.0.0
youtube-dl 2018.3.14
zipp 3.4.0
zope.interface 4.3.2
zhihui@zhihui-desktop:~/project/FastMOT$
from fastmot.
@shliang0603 Use part of install_jetson.sh
to reinstall Numba 0.48. There shouldn't be any TBB warning. From my experience, Xavier NX has issues with Numba 0.50+. Also, make sure you didn't reinstall OpenCV like #1
from fastmot.
@GeekAlexis If Numba >0.5.0 will have error about TBB,because tbb version is lower. But I solved it TBB problem by reference # . And I didn't reinstall Opencv, I will try reduce the numba version to 0.48 for your advice.
from fastmot.
@GeekAlexis Hi, I reduced the numba version and encountered many errors. Can you tell me your llvm
、llvmlite
version ?
from fastmot.
FastMOT/scripts/install_jetson.sh
Lines 24 to 38 in 804e085
from fastmot.
@GeekAlexis Hi, I have reinstalled LLVM7.0.1, llvmlite==0.31.0, numba==0.48 according to your requirements, but it still so slow. The following is my running result:
zhihui@zhihui-desktop:~/project/FastMOT$python3 app.py --input_uri test.mp4 --mot --gui --output_uri test_result.mp4
Opening in BLOCKING MODE
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (896) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=1, value=0, duration=-1
[INFO] 1280x720 stream @ 30 FPS
[INFO] Loading detector model...
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 40
[INFO] Loading feature extractor model...
Gtk-Message: 09:33:35.396: Failed to load module "canberra-gtk-module"
[INFO] Starting video capture...
[INFO] Found: person 1 at [1106 494]
[INFO] Found: person 2 at [193 626]
[INFO] Found: person 3 at [997 76]
[INFO] Found: person 4 at [610 100]
[INFO] Found: person 5 at [558 219]
[INFO] Found: person 6 at [1225 183]
[INFO] Found: person 7 at [1099 668]
[INFO] Found: person 8 at [504 212]
[INFO] Found: person 9 at [611 338]
[INFO] Found: person 10 at [1121 136]
[INFO] Found: person 11 at [782 26]
[INFO] Found: person 12 at [893 16]
[INFO] Found: person 13 at [922 49]
[INFO] Found: person 14 at [212 248]
[INFO] Found: person 15 at [672 44]
[INFO] Found: person 16 at [464 690]
[INFO] Found: person 17 at [828 4]
[INFO] Found: person 18 at [239 212]
[INFO] Found: person 19 at [1199 485]
[INFO] Found: person 20 at [1162 7]
[INFO] Out: person 7 at [1089 720]
[INFO] Out: person 2 at [ 8 701]
[INFO] Out: person 6 at [1280 153]
[INFO] Found: person 22 at [1216 331]
[INFO] Out: person 14 at [ -1 341]
[INFO] Lost: person 13 at [1048 15]
[INFO] Lost: person 1 at [1093 637]
[INFO] Found: person 23 at [1089 33]
[INFO] Out: person 19 at [1079 720]
[INFO] Found: person 24 at [ 30 441]
[INFO] Lost: person 17 at [902 0]
[INFO] Out: person 9 at [ 29 707]
[INFO] Found: person 25 at [973 689]
[INFO] Found: person 26 at [ 24 334]
[INFO] Re-identified: person 17 at [902 0]
[INFO] Out: person 3 at [1099 -1]
[INFO] Out: person 22 at [1042 720]
[INFO] Found: person 28 at [626 676]
[INFO] Lost: person 15 at [721 14]
[INFO] Out: person 23 at [1107 1]
[INFO] Found: person 29 at [ 38 463]
[INFO] Average FPS: 2
zhihui@zhihui-desktop:~/project/FastMOT$ pip3 show llvmlite numba
Name: llvmlite
Version: 0.31.0
Summary: lightweight wrapper around basic LLVM functionality
Home-page: http://llvmlite.pydata.org
Author: Continuum Analytics, Inc.
Author-email: numba-users@continuum.io
License: BSD
Location: /usr/local/lib/python3.6/dist-packages
Requires:
Required-by: numba
---
Name: numba
Version: 0.48.0
Summary: compiling Python code using LLVM
Home-page: http://numba.github.com
Author: Anaconda, Inc.
Author-email: numba-users@continuum.io
License: BSD
Location: /usr/local/lib/python3.6/dist-packages
Requires: setuptools, numpy, llvmlite
Required-by:
zhihui@zhihui-desktop:~/project/FastMOT$
from fastmot.
@GeekAlexis Hi, I reboot my Jetson Xavier NX device and now it can run average 10fps. And did not reach the 20 fps or higher they said #1
from fastmot.
@shliang0603 What speed can you get without --gui
and --output_uri
? Can you share your test video for me to replicate the results?
from fastmot.
@GeekAlexis Hi,OK,I upload my test video to google driver,the URL:https://drive.google.com/file/d/1nWV_8W01_ND7F1Cu-KIBd-Q_Qn1Zuk9p/view?usp=sharing
from fastmot.
@GeekAlexis I tried not to apply the parameters --gui
and --output_uri
, the test speed is 15fps. Will it take a long time to render and save the video? In my personal experience, opencv is generally very fast in rendering and saving the video
from fastmot.
@shliang0603 Unfortunately they are a bit slow on Jetson. GStreamer speeds up video saving a lot but displaying is slow with OpenCV. They use extra GPU resources too. Also, just tested the video and got 30 FPS on my Xavier NX with 15W mode. Someone in #1 reinstalled OpenCV shipped by NVIDIA and got slower speed, again make sure you didn't do that.
from fastmot.
@shliang0603 Also, do not disable GStreamer on Jetson
from fastmot.
@GeekAlexis I set WITH_GSTREAMER=True
and I don't reinstall opencv. As the same time, My Jetson Xavier NX power mode set to 15W 6CORE
. But I did not achieve the test effect you said, I don’t know why
from fastmot.
@shliang0603 Can you run with the -v
option and tell me the timing results printed at the end. Need to know if this is related to TensorRT or OpenCV.
from fastmot.
@GeekAlexis I add the -v
option and the following is running info:
zhihui@zhihui-desktop:~/project/FastMOT$ python3 app.py --input_uri test.mp4 --mot -v
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (896) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global /home/nvidia/host/build_opencv/nv_opencv/modules/videoio/src/cap_gstreamer.cpp (933) open OpenCV | GStreamer warning: Cannot query video position: status=1, value=0, duration=-1
[INFO] 1280x720 stream @ 30 FPS
[INFO] Loading detector model...
[INFO] Loading feature extractor model...
[INFO] Starting video capture...
[DEBUG] Detected: person 1 at [1107 491]
[DEBUG] Detected: person 2 at [207 620]
[DEBUG] Detected: person 3 at [995 76]
[DEBUG] Detected: person 4 at [609 102]
[DEBUG] Detected: person 5 at [551 222]
[DEBUG] Detected: person 6 at [1221 184]
[DEBUG] Detected: person 7 at [1097 662]
[DEBUG] Detected: person 8 at [496 215]
[DEBUG] Detected: person 9 at [619 333]
[DEBUG] Detected: person 10 at [1121 137]
[DEBUG] Detected: person 11 at [783 26]
[DEBUG] Detected: person 12 at [893 16]
[DEBUG] Detected: person 13 at [915 52]
[DEBUG] Detected: person 14 at [216 261]
[DEBUG] Detected: person 15 at [669 45]
[DEBUG] Detected: person 16 at [451 694]
[DEBUG] Detected: person 17 at [830 6]
[INFO] Found: person 1 at [1106 494]
[INFO] Found: person 2 at [193 626]
[INFO] Found: person 3 at [997 76]
[INFO] Found: person 4 at [610 100]
[INFO] Found: person 5 at [558 219]
[INFO] Found: person 6 at [1225 183]
[INFO] Found: person 7 at [1099 668]
[INFO] Found: person 8 at [504 212]
[INFO] Found: person 9 at [611 338]
[INFO] Found: person 10 at [1121 136]
[INFO] Found: person 11 at [782 26]
[INFO] Found: person 12 at [893 16]
[INFO] Found: person 13 at [922 49]
[INFO] Found: person 14 at [212 248]
[INFO] Found: person 15 at [672 44]
[INFO] Found: person 16 at [464 690]
[INFO] Found: person 17 at [828 4]
[DEBUG] Detected: person 18 at [231 214]
[INFO] Found: person 18 at [239 212]
[DEBUG] Detected: person 19 at [1205 482]
[INFO] Found: person 19 at [1199 485]
[DEBUG] Detected: person 20 at [1164 7]
[INFO] Found: person 20 at [1162 7]
[INFO] Out: person 7 at [1089 720]
[INFO] Out: person 2 at [ 8 701]
[DEBUG] Detected: person 21 at [1225 308]
[INFO] Out: person 6 at [1280 153]
[DEBUG] Unconfirmed: person 21 at [1224 309]
[DEBUG] Detected: person 22 at [1217 326]
[INFO] Found: person 22 at [1216 331]
[INFO] Out: person 14 at [ -1 341]
[INFO] Lost: person 13 at [1048 15]
[DEBUG] Duplicate: person 12 at [908 3]
[INFO] Lost: person 1 at [1093 637]
[DEBUG] Detected: person 23 at [1088 35]
[INFO] Found: person 23 at [1089 33]
[INFO] Out: person 19 at [1079 720]
[DEBUG] Detected: person 24 at [ 23 446]
[INFO] Found: person 24 at [ 30 441]
[INFO] Lost: person 17 at [902 0]
[INFO] Out: person 9 at [ 29 707]
[DEBUG] Detected: person 25 at [970 698]
[INFO] Found: person 25 at [973 689]
[DEBUG] Detected: person 26 at [ 23 339]
[INFO] Found: person 26 at [ 24 334]
[INFO] Re-identified: person 17 at [902 0]
[INFO] Out: person 3 at [1099 -1]
[DEBUG] Detected: person 27 at [1056 703]
[DEBUG] Unconfirmed: person 27 at [1056 703]
[DEBUG] Detected: person 28 at [610 689]
[INFO] Out: person 22 at [1042 720]
[INFO] Found: person 28 at [626 676]
[INFO] Lost: person 15 at [721 14]
[DEBUG] Detected: person 29 at [ 31 467]
[INFO] Out: person 23 at [1107 1]
[INFO] Found: person 29 at [ 38 463]
[INFO] Average FPS: 14
[DEBUG] Average tracker time: 0.053639
[DEBUG] Average feature extractor time: 0.037604
[DEBUG] Average preprocessing time: 0.023066
[DEBUG] Average detector time: 0.050546
[DEBUG] Average association time: 0.021254
zhihui@zhihui-desktop:~/project/FastMOT$
I noticed that there are two warning messages in the output information. Will this affect
from fastmot.
@shliang0603 The Gstreamer warnings are normal. It looks like this is related to either OpenCV or Numba. But you didn't reinstall OpenCV so I'm not sure why. Have you tried running over ssh without a monitor?
from fastmot.
@GeekAlexis I test using ssh,but get the same result, as shown below :
Below is some version information of my system.
zhihui@zhihui-desktop:~/project/FastMOT$ jetson_release -v
- NVIDIA Jetson Xavier NX (Developer Kit Version)
* Jetpack 4.4.1 [L4T 32.4.4]
* NV Power Mode: MODE_15W_6CORE - Type: 2
* jetson_stats.service: active
- Board info:
* Type: Xavier NX (Developer Kit Version)
* SOC Family: tegra194 - ID:25
* Module: P3668 - Board: P3509-000
* Code Name: jakku
* CUDA GPU architecture (ARCH_BIN): 7.2
* Serial Number: 1422420034718
- Libraries:
* CUDA: 10.2.89
* cuDNN: 8.0.0.180
* TensorRT: 7.1.3.0
* Visionworks: 1.6.0.501
* OpenCV: 4.1.1 compiled CUDA: NO
* VPI: 0.4.4
* Vulkan: 1.2.70
- jetson-stats:
* Version 3.0.2
* Works on Python 3.6.9
zhihui@zhihui-desktop:~/project/FastMOT$
And all python library package version information on my Jetson NX device is following:
zhihui@zhihui-desktop:~/project/FastMOT$ pip3 list
Package Version
--------------------------------- -------------------
absl-py 0.11.0
appdirs 1.4.4
apt-clone 0.2.1
apturl 0.5.2
argon2-cffi 20.1.0
asn1crypto 0.24.0
astor 0.8.1
async-generator 1.10
attrs 20.3.0
backcall 0.2.0
beautifulsoup4 4.6.0
bleach 3.2.1
blinker 1.4
Brlapi 0.6.6
certifi 2018.1.18
cffi 1.14.3
chardet 3.0.4
cryptography 2.1.4
cupshelpers 1.0
cycler 0.10.0
Cython 0.29.21
cython-bbox 0.1.3
dataclasses 0.8
decorator 4.4.2
defer 1.0.6
defusedxml 0.6.0
distro-info 0.18ubuntu0.18.04.1
easydict 1.9
entrypoints 0.3
feedparser 5.2.1
future 0.18.2
gast 0.2.2
google-pasta 0.2.0
graphsurgeon 0.4.5
grpcio 1.33.2
h5py 2.10.0
html5lib 0.999999999
httplib2 0.9.2
idna 2.6
importlib-metadata 3.1.0
ipykernel 5.3.4
ipython 7.16.1
ipython-genutils 0.2.0
ipywidgets 7.5.1
jedi 0.17.2
jetson-stats 3.0.2
Jetson.GPIO 2.0.11
Jinja2 2.11.2
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.1.7
jupyter-console 6.2.0
jupyter-contrib-core 0.3.3
jupyter-contrib-nbextensions 0.5.1
jupyter-core 4.7.0
jupyter-highlight-selected-word 0.2.0
jupyter-latex-envs 1.4.6
jupyter-nbextensions-configurator 0.4.1
jupyterlab-pygments 0.1.2
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.1
keyring 10.6.0
keyrings.alt 3.0
language-selector 0.1
launchpadlib 1.10.6
lazr.restfulclient 0.13.5
lazr.uri 1.0.3
llvmlite 0.31.0
louis 3.5.0
lxml 4.6.1
macaroonbakery 1.1.3
Mako 1.1.3
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 2.1.1
mistune 0.8.4
mock 3.0.5
nbclient 0.5.1
nbconvert 6.0.7
nbformat 5.0.8
nest-asyncio 1.4.3
notebook 6.1.5
numba 0.48.0
numpy 1.16.1
oauth 1.0.1
oauthlib 2.0.6
olefile 0.45.1
onboard 1.4.1
opt-einsum 3.3.0
packaging 20.4
PAM 0.4.2
pandas 0.22.0
pandocfilters 1.4.3
parso 0.7.1
pbr 5.5.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 5.1.0
pip 20.2.4
prometheus-client 0.9.0
prompt-toolkit 3.0.8
protobuf 3.3.0
ptyprocess 0.6.0
pybind11 2.6.0
pycairo 1.16.2
pycparser 2.20
pycrypto 2.6.1
pycuda 2019.1.2
pycups 1.9.73
Pygments 2.7.2
pygobject 3.26.1
PyICU 1.9.8
PyJWT 1.5.3
pymacaroons 0.13.0
PyNaCl 1.1.2
pyparsing 2.4.7
pyRFC3339 1.0
pyrsistent 0.17.3
python-apt 1.6.5+ubuntu0.3
python-dateutil 2.8.1
python-debian 0.1.32
pytools 2020.4.3
pytz 2018.3
pyxattr 0.6.0
pyxdg 0.25
PyYAML 5.3.1
pyzmq 20.0.0
qtconsole 5.0.0
QtPy 1.9.0
requests 2.18.4
requests-unixsocket 0.1.5
scipy 1.4.1
SecretStorage 2.3.1
Send2Trash 1.5.0
setuptools 49.6.0
simplejson 3.13.2
six 1.15.0
ssh-import-id 5.7
system-service 0.3
systemd-python 234
tensorboard 1.15.0
tensorflow 1.15.3+nv20.9
tensorflow-estimator 1.15.1
tensorrt 7.1.3.0
termcolor 1.1.0
terminado 0.9.1
testpath 0.4.4
testresources 2.0.1
torch 1.6.0
torchvision 0.7.0a0+78ed10c
tornado 6.1
tqdm 4.43.0
traitlets 4.3.3
ubuntu-drivers-common 0.0.0
uff 0.6.9
unity-scope-calculator 0.1
unity-scope-chromiumbookmarks 0.1
unity-scope-colourlovers 0.1
unity-scope-devhelp 0.1
unity-scope-firefoxbookmarks 0.1
unity-scope-manpages 0.1
unity-scope-openclipart 0.1
unity-scope-texdoc 0.1
unity-scope-tomboy 0.1
unity-scope-virtualbox 0.1
unity-scope-yelp 0.1
unity-scope-zotero 0.1
urllib3 1.22
urwid 2.0.1
wadllib 1.3.2
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 1.0.1
wheel 0.30.0
widgetsnbextension 3.5.1
wrapt 1.12.1
xkit 0.0.0
youtube-dl 2018.3.14
zipp 3.4.0
zope.interface 4.3.2
zhihui@zhihui-desktop:~/project/FastMOT$
from fastmot.
@shliang0603 Just noticead you have scipy 1.4. Please install scipy 1.5+
from fastmot.
@GeekAlexis I have updated the scipy version to the latest 1.5.4, but the speed is a little slower. I also have a major problem. If I install the library package with pip3 install package_name
, it will be installed to /home/zhihui/.local/lib/python3.6/site-packages
; if I install the library package with sudo-h pip3 install package_name
, it will be installed to /usr/local/lib/python3.6/dist-packages
. I don't know if that makes a difference
eg: pip3 install numpy
zhihui@zhihui-desktop:~/project/FastMOT$ pip3 show numpy
Name: numpy
Version: 1.16.1
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: /home/zhihui/.local/lib/python3.6/site-packages
Requires:
Required-by: torch, tensorflow, tensorboard, pytools, opt-einsum, Keras-Preprocessing, Keras-Applications, h5py, scipy, numba, torchvision, uff
zhihui@zhihui-desktop:~/project/FastMOT$
eg:sudo -H pip3 install numba
zhihui@zhihui-desktop:~/project/FastMOT$ pip3 show numba
Name: numba
Version: 0.48.0
Summary: compiling Python code using LLVM
Home-page: http://numba.github.com
Author: Anaconda, Inc.
Author-email: numba-users@continuum.io
License: BSD
Location: /usr/local/lib/python3.6/dist-packages
Requires: numpy, setuptools, llvmlite
Required-by:
zhihui@zhihui-desktop:~/project/FastMOT$
from fastmot.
@shliang0603 I am not sure either. But in my environment, I always installed packages system-wide using sudo -H
. BTW, here is my Numba installation info for your reference:
ayang@xavier-nx:~/FastMOT$ numba -s
System info:
--------------------------------------------------------------------------------
__Time Stamp__
2020-11-27 03:47:55.339288
__Hardware Information__
Machine : aarch64
CPU Name : generic
Number of accessible CPU cores : 6
Listed accessible CPUs cores : 0-5
CFS restrictions : None
CPU Features :
crc crypto fp-armv8 neon
__OS Information__
Platform : Linux-4.9.140-tegra-aarch64-with-Ubuntu-18.04-bionic
Release : 4.9.140-tegra
System Name : Linux
Version : #1 SMP PREEMPT Tue Oct 27 21:02:46 PDT 2020
OS specific info : Ubuntu18.04bionic
glibc info : glibc 2.25
__Python Information__
Python Compiler : GCC 8.4.0
Python Implementation : CPython
Python Version : 3.6.9
Python Locale : en_US UTF-8
__LLVM information__
LLVM version : 7.0.1
__CUDA Information__
Found 1 CUDA devices
id 0 b'Xavier' [SUPPORTED]
compute capability: 7.2
pci device id: 0
pci bus id: 0
Summary:
1/1 devices are supported
CUDA driver version : 10020
CUDA libraries:
Finding cublas from System
named libcublas.so
trying to open library... ok
Finding cusparse from System
named libcusparse.so.10.3.1.89
trying to open library... ok
Finding cufft from System
named libcufft.so.10.1.2.89
trying to open library... ok
Finding curand from System
named libcurand.so.10.1.2.89
trying to open library... ok
Finding nvvm from System
named libnvvm.so.3.3.0
trying to open library... ok
Finding libdevice from System
searching for compute_20... ok
searching for compute_30... ok
searching for compute_35... ok
searching for compute_50... ok
__ROC Information__
ROC available : False
Error initialising ROC due to : No ROC toolchains found.
No HSA Agents found, encountered exception when searching:
Error at driver init:
NUMBA_HSA_DRIVER /opt/rocm/lib/libhsa-runtime64.so is not a valid file path. Note it must be a filepath of the .so/.dll/.dylib or the driver:
__SVML Information__
SVML state, config.USING_SVML : False
SVML library found and loaded : False
llvmlite using SVML patched LLVM : False
SVML operational : False
__Threading Layer Information__
TBB Threading layer available : True
OpenMP Threading layer available : True
Workqueue Threading layer available : True
__Numba Environment Variable Information__
None set.
__Conda Information__
Conda not present/not working.
Error was [Errno 2] No such file or directory: 'conda': 'conda'
--------------------------------------------------------------------------------
If requested, please copy and paste the information between
the dashed (----) lines, or from a given specific section as
appropriate.
=============================================================
IMPORTANT: Please ensure that you are happy with sharing the
contents of the information present, any information that you
wish to keep private you should remove before sharing.
=============================================================
from fastmot.
@GeekAlexis Thank you very much for your tireless help. I compared the output information of numba -s
, and some of my options were set to False. I didn't know how to set them at that time. Can you give me some suggestions?
from fastmot.
@GeekAlexis I solved the following problem by install numba from source. But it's getting slower,I test speed becoming 1fps
OpenMP Threading layer available : False
+--> Disabled due to : Unknown import problem.
numba -s
info:
zhihui@zhihui-desktop:~$ numba -s
System info:
--------------------------------------------------------------------------------
__Time Stamp__
2020-11-27 07:31:05.862903
__Hardware Information__
Machine : aarch64
CPU Name : generic
Number of accessible CPU cores : 6
Listed accessible CPUs cores : 0-5
CFS restrictions : None
CPU Features :
crc crypto fp-armv8 neon
__OS Information__
Platform : Linux-4.9.140-tegra-aarch64-with-Ubuntu-18.04-bionic
Release : 4.9.140-tegra
System Name : Linux
Version : #1 SMP PREEMPT Fri Oct 16 12:25:00 PDT 2020
OS specific info : Ubuntu18.04bionic
glibc info : glibc 2.25
__Python Information__
Python Compiler : GCC 8.4.0
Python Implementation : CPython
Python Version : 3.6.9
Python Locale : en_US UTF-8
__LLVM information__
LLVM version : 7.0.1
__CUDA Information__
Found 1 CUDA devices
id 0 b'Xavier' [SUPPORTED]
compute capability: 7.2
pci device id: 0
pci bus id: 0
Summary:
1/1 devices are supported
CUDA driver version : 10020
CUDA libraries:
Finding cublas from System
named libcublas.so
trying to open library... ok
Finding cusparse from System
named libcusparse.so.10.3.1.89
trying to open library... ok
Finding cufft from System
named libcufft.so.10.1.2.89
trying to open library... ok
Finding curand from System
named libcurand.so.10.1.2.89
trying to open library... ok
Finding nvvm from System
named libnvvm.so.3.3.0
trying to open library... ok
Finding libdevice from System
searching for compute_20... ok
searching for compute_30... ok
searching for compute_35... ok
searching for compute_50... ok
__ROC Information__
ROC available : False
Error initialising ROC due to : No ROC toolchains found.
No HSA Agents found, encountered exception when searching:
Error at driver init:
NUMBA_HSA_DRIVER /opt/rocm/lib/libhsa-runtime64.so is not a valid file path. Note it must be a filepath of the .so/.dll/.dylib or the driver:
__SVML Information__
SVML state, config.USING_SVML : False
SVML library found and loaded : False
llvmlite using SVML patched LLVM : False
SVML operational : False
__Threading Layer Information__
TBB Threading layer available : True
OpenMP Threading layer available : True
Workqueue Threading layer available : True
__Numba Environment Variable Information__
None set.
__Conda Information__
Conda not present/not working.
Error was [Errno 2] No such file or directory: 'conda': 'conda'
--------------------------------------------------------------------------------
If requested, please copy and paste the information between
the dashed (----) lines, or from a given specific section as
appropriate.
=============================================================
IMPORTANT: Please ensure that you are happy with sharing the
contents of the information present, any information that you
wish to keep private you should remove before sharing.
=============================================================
zhihui@zhihui-desktop:~$
from fastmot.
1、I previously reported an error : numba/np/ufunc/tbbpool.cpp:30:2: error: #error "TBB version is too old, 2019 update 5, i.e. TBB_INTERFACE_VERSION >= 11005 required" #error "TBB version is too old, 2019 update 5, i.e. TBB_INTERFACE_VERSION >= 11005 required"
when installing nunba using the command pip3 install numba==0.51.2
2、Then I upgraded the version of TBB by reference #. The specific upgrade method is as follows:
git clone https://github.com/wjakob/tbb.git
cd tbb/build
cmake ..
make -j
sudo make install
3、Now I lowered the version of numba and there was an OpenMP Threading layer available : False +--> Disabled due to : Unknown import problem.
error. I suspect it was because I upgraded the version of tbb before, but I don’t know how to restore it back.
from fastmot.
Seems like the issue is related to Numba installation so closing this now. You can open another issue if you have further questions.
from fastmot.
Related Issues (20)
- How Can I Display ClassName on BB
- Unknown attribute 'ravel' of type none HOT 1
- How to share lost track buffers across cameras for ReID? HOT 1
- FASTMOT for Jetson
- Deepstream Implementation HOT 1
- yolov4_crowdhuman.weights
- Unable to install `install_jetson.sh`
- [Question] detections and cropping only in a ROI section HOT 2
- is there any docker images HOT 1
- AssertionError occurred during program execution. HOT 4
- Yolov7 support HOT 1
- Install on Jetpack 5 HOT 3
- Cupy repeated dependency error when running the container HOT 3
- About track ID limits
- Please read & provide the following
- nvcc fatal : Unsupported gpu architecture 'compute_86'Please read & provide the following
- Incorrect Bounding Boxes and change of vehicle ids when using custom weights HOT 1
- FastMOT paper HOT 1
- YOLOv8 support HOT 4
- How to tracking on UAV(moving camera)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastmot.