-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running masckcam manually #11
Comments
By any chance, are you running on deepstream-5.1? |
yes, I am using deepstream-5.1 |
currently I am facing this issue after changing to deepstream 5.0 python3 maskcam_run.py Traceback (most recent call last): |
I would check:
|
I managed to use docker instead to run it. I think I might have missed some steps in the manual installation process. Thanks. |
I am getting this error
python3 maskcam_run.py
| DEBUG Using selector: EpollSelector selector_events.py:54
INFO maskcam-run | Using input from config file: prints.py:48
v4l2:///dev/video0
WARNING maskcam-run | MQTT is DISABLED since MQTT_BROKER_IP or prints.py:44
MQTT_DEVICE_NAME env vars are not defined
INFO maskcam-run | Press Ctrl+C to stop all processes prints.py:48
INFO maskcam-run | Process file-server started with PID: prints.py:48
12650
INFO maskcam-run | Starting streaming prints.py:48
(streaming-start-default is set)
INFO maskcam-run | Received command: streaming_start prints.py:48
INFO maskcam-run | Process inference started with PID: 12652 prints.py:48
INFO maskcam-run | Processing command: streaming_start prints.py:48
INFO maskcam-run | Process streaming started with PID: 12653 prints.py:48
INFO mqtt | MQTT not connected. Skipping message to topic: prints.py:48
device-status
| INFO file-server | Serving static files from directory: prints.py:48
/tmp/saved_videos
INFO file-server | Static server STARTED at prints.py:48
http://:8080
| INFO streaming | Codec: H264 prints.py:48
INFO streaming | prints.py:48
| INFO inference | Auto calculated frames to skip inference: 2 prints.py:48
INFO inference | Creating Pipeline prints.py:48
INFO inference | Creating Camera input prints.py:48
INFO inference | Creating Convertor src 2 prints.py:48
INFO inference | Creating Camera caps filter prints.py:48
INFO inference | Creating Convertor src 1 prints.py:48
INFO inference | Creating NVMM caps for input stream prints.py:48
INFO inference | Creating NvStreamMux prints.py:48
INFO inference | Creating pgie prints.py:48
INFO inference | Creating Converter NV12->RGBA prints.py:48
INFO inference | Creating OSD (nvosd) prints.py:48
INFO inference | Creating Queue prints.py:48
INFO inference | Creating Converter RGBA->NV12 prints.py:48
INFO inference | Creating capsfilter prints.py:48
INFO inference | Creating H264 stream prints.py:48
INFO inference | Creating Encoder prints.py:48
INFO inference | Creating Code Parser prints.py:48
INFO inference | Creating RTP H264 Payload prints.py:48
INFO inference | Creating Splitter file/UDP prints.py:48
INFO inference | Creating UDP queue prints.py:48
INFO inference | Creating Multi UDP Sink prints.py:48
INFO inference | Creating Fake Sink prints.py:48
INFO inference | Linking elements in the Pipeline prints.py:48
Opening in BLOCKING MODE
Opening in BLOCKING MODE
ERROR: Deserialize engine failed because file path: /home/jetsonnano/maskcam/yolo/maskcam_y4t_1024_608_fp16.trt open error
0:00:02.575327981 12652 0x200a86f0 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1691> [UID = 1]: deserialize engine from file :/home/jetsonnano/maskcam/yolo/maskcam_y4t_1024_608_fp16.trt failed
0:00:02.575399128 12652 0x200a86f0 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1798> [UID = 1]: deserialize backend context from engine from file :/home/jetsonnano/maskcam/yolo/maskcam_y4t_1024_608_fp16.trt failed, try rebuild
0:00:02.575429806 12652 0x200a86f0 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [UID = 1]: Trying to create engine from model files
Yolo type is not defined from config file name:
ERROR: Failed to create network using custom network creation function
ERROR: Failed to get cuda engine from custom library API
0:00:02.575762260 12652 0x200a86f0 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1736> [UID = 1]: build engine file failed
0:00:02.575795021 12652 0x200a86f0 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1822> [UID = 1]: build backend context failed
0:00:02.575826220 12652 0x200a86f0 ERROR nvinfer gstnvinfer.cpp:613:gst_nvinfer_logger: NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1149> [UID = 1]: generate backend failed, check config file settings
0:00:02.576405397 12652 0x200a86f0 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Failed to create NvDsInferContext instance
0:00:02.576446544 12652 0x200a86f0 WARN nvinfer gstnvinfer.cpp:812:gst_nvinfer_start: error: Config file path: maskcam_config.txt, NvDsInfer Error: NVDSINFER_CONFIG_FAILED
ERROR inference | gst-resource-error-quark: Failed to create prints.py:42
NvDsInferContext instance (1): /dvs/git/dirty/git-master
_linux/deepstream/sdk/src/gst-plugins/gst-nvinfer/gstnvi
nfer.cpp(812): gst_nvinfer_start ():
/GstPipeline:pipeline0/GstNvInfer:primary-inference:
Config file path: maskcam_config.txt, NvDsInfer Error:
NVDSINFER_CONFIG_FAILED
INFO inference | prints.py:48
TROUBLESHOOTING HELP
INFO inference | Inference main loop ending. prints.py:48
INFO maskcam-run | Sending interrupt to file-server process prints.py:48
INFO file-server | Shutting down static file server prints.py:48
INFO maskcam-run | Waiting for process file-server to prints.py:48
terminate...
INFO file-server | Server shut down correctly prints.py:48
INFO file-server | Server alive threads: prints.py:48
[<_MainThread(MainThread, started 548193665040)>]
INFO maskcam-run | Process terminated: file-server prints.py:48
INFO maskcam-run | Sending interrupt to streaming process prints.py:48
INFO maskcam-run | Waiting for process streaming to prints.py:48
terminate...
INFO streaming | Ending streaming prints.py:48
INFO maskcam-run | Process terminated: streaming prints.py:48
The text was updated successfully, but these errors were encountered: