question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some public models from Open Model Zoo do not produce inference results

See original GitHub issue

Here is the pipeline I am testing with. The pipeline runs without any error and there is no log for any output for the following command:

command

sudo ./vaclient/vaclient.sh run object_classification/face_mask_classification https://github.com/intel/video-analytics-serving/blob/master/samples/classroom.mp4?raw=true

pipeline.json

{
    "type": "GStreamer",
    "template": [
      "uridecodebin name=source",
      " ! gvadetect model=/home/video-analytics-serving/models/ultra-lightweight-face-detection-slim-320/1/FP32/ultra-lightweight-face-detection-slim-320.xml name=detection",
      " ! gvaclassify model=/home/video-analytics-serving/models/face_classification/1/FP32/face_mask.xml name=classification",
      " ! gvapython name=face-classification class=FaceClassification module=/home/video-analytics-serving/extensions/spatial_analytics/face_classification.py",
      " ! gvametaconvert name=metaconvert",
      " ! gvapython module=/home/video-analytics-serving/extensions/gva_event_meta/gva_event_convert.py",
      " ! gvametapublish name=destination",
      " ! appsink name=appsink"
    ],
    "description": "Bank Face CLassification",
    "parameters": {
      "type": "object",
      "properties": {
        "detection-device": {
          "element": {
            "name": "detection",
            "property": "device"
          },
          "type": "string"
        },
        "classification-device": {
          "element": {
            "name": "classification",
            "property": "device"
          },
          "type": "string"
        },
        "inference-interval": {
          "element": [
            {
              "name": "detection",
              "property": "inference-interval"
            },
            {
              "name": "classification",
              "property": "inference-interval"
            }
          ],
          "type": "integer"
        },
        "detection-model-instance-id": {
          "element": {
            "name": "detection",
            "property": "model-instance-id"
          },
          "type": "string"
        },
        "classification-model-instance-id": {
          "element": {
            "name": "classification",
            "property": "model-instance-id"
          },
          "type": "string"
        },
        "object-class": {
            "element": [
              {
                "name": "detection",
                "property": "object-class"
              },
              {
                "name": "classification",
                "property": "object-class"
              }
            ],
            "type": "string"
          },
        "reclassify-interval": {
          "element": "classification",
          "type": "integer"
        },
        "detection-threshold": {
          "element": {
            "name": "detection",
            "property": "threshold"
          },
          "type": "number"
        },
        "classification-threshold": {
          "element": {
            "name": "classification",
            "property": "threshold"
          },
          "type": "number"
        }
      }
    }
  }

I think this is because I have not added the model-proc file for the models?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
nikparmarcommented, Oct 1, 2021

@tthakkal I will update you soon. Engaged in something

0reactions
akwrobelcommented, Nov 19, 2021

@nikparmar can you provide any updates on what changes you tried? Is this no longer an issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Open Model Zoo Models
OpenVINO and Open Model Zoo tools are listed in the table below. ... Refer to the list of public and Intel pre-trained models...
Read more >
Python* Model API package - GitHub
Python* Model API package. Model API package is a set of wrapper classes for particular tasks and model architectures, simplifying data preprocess and ......
Read more >
Deploying Diverse AI Model Categories from Public Model ...
I walk you through the deployment of image classification, object detection, and image segmentation public models using Triton Inference Server.
Read more >
Model Zoo - Deep learning code and pretrained models for ...
ModelZoo curates and provides a platform for deep learning researchers to easily find code and pre-trained models for a variety of platforms and...
Read more >
Create Amazon SageMaker models using the PyTorch Model ...
This blog post demonstrates how to perform ML inference using an ... Pre-trained ML models from the PyTorch Model Zoo are ready-made and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found