Skip to content
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

How to run segmentation models on platform? #790

Open
dhaval-zala-aivid opened this issue Sep 22, 2021 · 2 comments
Open

How to run segmentation models on platform? #790

dhaval-zala-aivid opened this issue Sep 22, 2021 · 2 comments

Comments

@dhaval-zala-aivid
Copy link

Hi @nnshah1 , @xwu2git,

I am stuck with implementing "mask_rcnn_inception_v2_coco" on Smart-City-Sample platform.
I am sharing my current pipeline.json and model-proc for the model that I have created as per my understanding. I am also attaching error I am receiving on the analytics pod with current Implementation, My interest is merely to check the compute and results on the base model.

PIPELINE.JSON
{ "name": "object_detection", "version": 2, "type": "GStreamer", "template":"rtspsrc udp-buffer-size=212992 name=source ! queue ! rtph264depay ! h264parse ! video/x-h264 ! tee name=t ! queue ! decodebin ! videoconvert name=\"videoconvert\" ! video/x-raw,format=BGRx ! queue leaky=upstream ! gvadetect ie-config=CPU_BIND_THREAD=NO model=\"{models[mask_rcnn_inception_v2_coco][1][network]}\" model-proc=\"{models[mask_rcnn_inception_v2_coco][1][proc]}\" name=\"detection\" ! gvametaconvert name=\"metaconvert\" ! queue ! gvametapublish name=\"destination\" ! appsink name=appsink t. ! queue ! splitmuxsink max-size-time=60500000000 name=\"splitmuxsink\"", "description": "Object Detection Pipeline", "parameters": { "type" : "object", "properties" : { "inference-interval": { "element":"detection", "type": "integer", "minimum": 0, "maximum": 4294967295 }, "cpu-throughput-streams": { "element":"detection", "type": "string" }, "n-threads": { "element":"videoconvert", "type": "integer" }, "nireq": { "element":"detection", "type": "integer", "minimum": 1, "maximum": 64 }, "recording_prefix": { "type":"string", "default":"recording" } } } }

MODEL-PROC
`{
"json_schema_version": "1.0.0",
"input_preproc":[
{
"color_format":"BGR",
"layer_name": "image_tensor"
},
{
"format": "image_info",
"layer_name": "image_info"
}
],
"output_postproc":[
{
"converter":"DetectionOutput"

},
{
        "converter": "tensor_to_bbox_ssd",
        "labels":["","person"]
    },
{
     "layer_name":"detection_output"
    }
]

}`

Error:
intel

Please guide me in this. Thanks.

@whbruce
Copy link

whbruce commented Jan 14, 2022

Review https://github.com/openvinotoolkit/dlstreamer_gst/wiki/Model-preparation and update your model-proc accordingly.

@akwrobel
Copy link

akwrobel commented Dec 6, 2022

There has been no update on this issue since the request to update the model-proc, recommend closing if no additional information is given.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants