ROI with yolov8s model detect no any person

Hi

I use yolov8s model to test ROI in VST, but it seems to detect no any thing as attachment.
ROI counter always is zero.
Do I miss any step or setting ?
sudo docker compose -f compose_nx16_yolov8s.yaml up -d --force-recreate

Thanks

Can you help to check if Redis received the object metadata based on the guide: DeepStream Perception — Metropolis on Jetson documentation 0.1.0 documentation

I check /log/deepstream.log in docker. Starting yolov8s is failed.

WARNING: Deserialize engine failed because file path: /yolov8s/model_b4_gpu0_int8.engine open error
WARNING: INT8 calibration file not specified/accessible. INT8 calibration can be done through setDynamicRange API in ‘NvDsInferCreateNetwork’ implementation
File does not exist: /yolov8s/yolov8s-dependencies
ONNX model file does not exist
ERROR: Failed to create network using custom network creation function
ERROR: Failed to get cuda engine from custom library API
0:00:13.586653686 19 0xaaab07fee240 ERROR nvinfer gstnvinfer.cpp:676:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Error in NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:2129> [UID = 1]: build engine file failed

Please follow this guide to generate YOLOv8 engine file before deploy AI NVR: DeepStream Perception — Metropolis on Jetson documentation 0.1.0 documentation

YOLOv8-build.log (3.4 KB)
Hi

I try to set build engine by using the command.
sudo docker run -v ./yolov8s:/yolov8s -v ./config/deepstream:/ds-config-files --runtime nvidia nvcr.io/nvidia/jps/deepstream:7.0-jps-v1.1.1 /yolov8s-files/yolov8s_setup.sh --nx16

It has some GStreamer-WARNING messages about failed to load library. Could I ignore them ?
Additionally, I use default file setup_config_nx16.txtm but it still failed to parse config file ‘/ds-config-files/yolov8s/setup_config_nx16.txt’.
Do I miss any steps or need to modify this file ?
The log is attached.

Thanks

Can you generate the engine now? Do you have the right file in the fold which you need to map to container: v ./yolov8s:/yolov8s -v ./config/deepstream:/ds-config-files?

Hi

The engine is built successfully and also apply to VST.

Load image: /yolov8s/yolov8s-dependencies/calibration/000000012062.jpg
Progress: 99.6%
Load image: /yolov8s/yolov8s-dependencies/calibration/000000392818.jpg
Progress: 99.7%
Load image: /yolov8s/yolov8s-dependencies/calibration/000000322163.jpg
Progress: 99.8%
Load image: /yolov8s/yolov8s-dependencies/calibration/000000551660.jpg
Progress: 99.9%
Load image: /yolov8s/yolov8s-dependencies/calibration/000000570539.jpg
Progress: 100%

Thanks

If the engine is built sucessfully, are you resolved the issue list in the topic?

Thanks for support.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.