• unsupported layer type \"Abs\"\n",

I was running the python converter tool and got this error:

Downloading diff_images_simplified_openvino_2021.4_6shave.blob...

{

"exit_code": 1,

"message": "Command failed with exit code 1, command: /opt/intel/openvino2021_4/deployment_tools/inference_engine/lib/intel64/myriad_compile -m /tmp/blobconverter/76c060c339d14629a84f6a2d5f733b76/diff_images_simplified/FP16/diff_images_simplified.xml -o /tmp/blobconverter/76c060c339d14629a84f6a2d5f733b76/diff_images_simplified/FP16/diff_images_simplified.blob -c /tmp/blobconverter/76c060c339d14629a84f6a2d5f733b76/myriad_compile_config.txt -ip U8",

"stderr": "[ GENERAL_ERROR ] \n/home/jenkins/agent/workspace/private-ci/ie/build-linux-ubuntu20/b/repos/openvino/inference-engine/src/vpu/graph_transformer/src/frontend/frontend.cpp:441 Failed to compile layer \"output\": unsupported layer type \"Abs\"\n",

"stdout": "Inference Engine: \n\tIE version ......... 2021.4.2\n\tBuild ........... 2021.4.2-3974-e2a469a3450-releases/2021/4\n\u001b[1;33m[Warning][VPU][Config] Deprecated option was used : VPU_MYRIAD_PLATFORM\u001b[0m\n"

}

But from the OpenVINO documentation I can see that it is a supported layer:

  • jakaskerl replied to this.
  • Hi AdamPolak ,
    You could try changing the abs in the model with something like this:

    int abs(int v) { return v * ((v>0) - (v<0)); }

    or

    tensor.pow(2).pow(0.5)

    Let me know if it solves the problem.

    Thanks,
    Jaka

    Hi AdamPolak ,
    You could try changing the abs in the model with something like this:

    int abs(int v) { return v * ((v>0) - (v<0)); }

    or

    tensor.pow(2).pow(0.5)

    Let me know if it solves the problem.

    Thanks,
    Jaka