Hardware (Jetson Nano 4G)
deepstream-app version 6.0.0
DeepStreamSDK 6.0.0
CUDA Driver Version: 10.2
CUDA Runtime Version: 10.2
TensorRT Version: 8.0
cuDNN Version: 8.2
I clone the project by this:
nvidia@nano:~/ds6_test$ git clone -b release/tao3.0_ds6.0ga GitHub - NVIDIA-AI-IOT/deepstream_tao_apps: Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
and download the model.
Then I run referring the page:
nvidia@nano:~/ds6_test/deepstream_tao_apps/apps/tao_others/deepstream-bodypose2d-app$ ./deepstream-bodypose2d-app 1 …/…/…/configs/bodypose2d_tao/sample_bodypose2d_model_config.txt file:///opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_720p.jpg ./body2dout
When rebuilding the engine, it occurred some issues:
WARNING: [TRT]: Skipping tactic 21 due to oom error on requested size of 1728 detected for tactic -1218658103698133241.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 22 due to oom error on requested size of 1728 detected for tactic -836875257600482091.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 23 due to oom error on requested size of 1728 detected for tactic -410470605513481746.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 0 due to oom error on requested size of 1728 detected for tactic -9153228964338181824.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 1 due to oom error on requested size of 1728 detected for tactic -7394439838318485025.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 0 due to oom error on requested size of 1728 detected for tactic 1002.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 1 due to oom error on requested size of 1728 detected for tactic 0.
WARNING: [TRT]: Internal error: cannot reformat, disabling format. Try decreasing the workspace size with IBuilderConfig::setMaxWorkspaceSize().
WARNING: [TRT]: Memory requirements of format conversion cannot be satisfied during timing, format rejected.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 0 due to oom error on requested size of 1728 detected for tactic 1002.
ERROR: [TRT]: Tactic Device request: 1728MB Available: 1536MB. Device memory is insufficient to use tactic.
WARNING: [TRT]: Skipping tactic 1 due to oom error on requested size of 1728 detected for tactic 0.
WARNING: [TRT]: Internal error: cannot reformat, disabling format. Try decreasing the workspace size with IBuilderConfig::setMaxWorkspaceSize().
WARNING: [TRT]: Memory requirements of format conversion cannot be satisfied during timing, format rejected.
0:23:43.027788485 8437 0x5574cac830 INFO nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-infer-engine1> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1947> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream_tao_apps/models/bodypose2d/model.etlt_b32_gpu0_fp16.engine successfully
INFO: [FullDims Engine Info]: layers num: 3
0 INPUT kFLOAT input_1:0 288x384x3 min: 1x288x384x3 opt: 32x288x384x3 Max: 32x288x384x3
1 OUTPUT kFLOAT heatmap_out/BiasAdd:0 36x48x19 min: 0 opt: 0 Max: 0
2 OUTPUT kFLOAT conv2d_transpose_1/BiasAdd:0 144x192x38 min: 0 opt: 0 Max: 0
Killed
I think it should be low memory, but finally I think it runs successful.
However, the output file is just 0kb, it is just an empty file.
Is there any way to fix it? THx.