Comments (5)
Most probably it is concerned with the fact that the latest Jetson Nano system image uses the latest TensorRT 8, where several API were deprecated - Watsor images were build on TensorRT 7. The upgrade to the latest has not been completed yet (PR #24). If possible, downgrading the system image can help. Or wait until Watsor is upgraded, no target date though.
from watsor.
okay thank you so much
from watsor.
Good day i am using an older jetson image with tensorRT 7.1.3 and i am now getting this error:
Building TensorRT engine. This may take few minutes.
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/watsor/main_for_gpu.py", line 24, in
], check=True)
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['python3', '-u', '/usr/local/lib/python3.6/dist-packages/watsor/engine.py', '-i', '/usr/share/watsor/model/gpu.uff', '-o', '/usr/share/watsor/model/gpu.buf', '-p', '16']' died with <Signals.SIGKILL: 9>.
can you help with this?
from watsor.
My Jetson Nano has 4GB of memory and Watsor works there. I checked that while building TensorRT engine it takes up to 3GB. I guess in your case it fails because 2GB is insufficient.
The following workaround can be tried. After the engine is built it is saved in Docker container file system. Next time the app runs, it doesn't build the engine again, but reuses from file. With the loaded engine and Watsor running Jetson Nano consumes a bit less than 2GB. So if you put an already built engine in /usr/share/watsor/model/gpu.buf
of a prepared Docker container, it might work.
I copied TensorRT engines from my setup and uploaded them to Google Drive. There are 2 files: for 32 and 16 float point precision. Only one file is needed. I use the engine with FP16 (Half precision), it show a bit better performance. Rename the file as gpu.buf
and put into /usr/share/watsor/model/
folder of Docker container.
from watsor.
TensorRT engine can be built by creating a 4GB swapfile as described here: #29 (comment)
from watsor.
Related Issues (20)
- Car detection HOT 2
- Coral Stick HOT 2
- Broken Pipe HOT 2
- Implementing Yolov4 for Detection HOT 1
- [FR] Multiple Redundant Detectors HOT 1
- Zones as config? HOT 1
- Home Assistant Add-On crashes at boot HOT 2
- Concatenating to Output File HOT 2
- running on snap images HOT 1
- Develop an add-on for Home Assistant HOT 1
- [FR] Seekable video archive HOT 2
- ffmpeg error while decoding rtsp stream HOT 2
- Accelerator in "Dev Board 3 with Edge TPU 4 TOPS" HOT 6
- IPcam VCA/Dual VCA HOT 1
- Camera not able to reconnect after getting disconnected. HOT 1
- Геокамера HOT 1
- Геокамера HOT 1
- Jetson Nano 2GB - Only CPU Detection Works! HOT 11
- Error on startup - google.protobuf.message.DecodeError: Truncated message. HOT 3
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 watsor.