ROCm / MIVisionX

MIVisionX toolkit is a set of comprehensive computer vision and machine intelligence libraries, utilities, and applications bundled into a single toolkit. AMD MIVisionX also delivers a highly optimized open-source implementation of the Khronos OpenVX™ and OpenVX™ Extensions.
https://rocm.docs.amd.com/projects/MIVisionX/en/latest/
MIT License
186 stars 74 forks source link

nnef2openvx : min *** not yet supported *** #9

Closed srohit0 closed 5 years ago

srohit0 commented 5 years ago

Using latest MIVision repo to convert nnef to openvx gives me this error

min not yet supported

NNEF Model excerpt

version 1.0 
graph mobilenet_v1_1( input ) -> ( output )
{
     mobilenetv1_mobilenetv1_conv2d_0_relu6 = min(y = 6.0, x = mobilenetv1_mobilenetv1_conv2d_0_relu6_relu);

}

Command

nnef2openvx  \
    /home/amd/models/nnef/object_detection/mobilenet_v1_1 \
    /home/amd/models/openvx/object_detection/mobilenet_v1_1

Output

OK: parsing /home/amd/models/nnef/object_detection/mobilenet_v1_1/graph.nnef ... min not yet supported [openvx]$ vi /home/amd/models/nnef/object_detection/mobilenet_v1_1/graph.nnef

min is a basic simplifier operation supported in NNEF specification 1.0.

Does the converter lack full support of NNEF specification 1.0 or am I using it wrong?

regards

kiritigowda commented 5 years ago

Issue #54 addresses this bug