Closed peter-zigo-nxp closed 6 years ago
I have run the test and did not see the error that you are reporting. I have attached the example with an image to this comment. Please try with the new files and see if you have the same issue.
Hi, I tried your example, but from message below I can't load libvx_nn.so. Also I added lib path libvx_nn.so to LD_LIBRARY_PATH, but this didn't help.
./runvx example1.gdf runvx 0.9.9 OK: using AMD OpenVX 0.9.9 ERROR: Unable to load module libvx_nn.so ERROR: vxLoadKernels(context,"vx_nn") failed (-11:VX_ERROR_INVALID_MODULE)
From: Pavel Tcherniaev notifications@github.com Sent: Saturday, September 15, 2018 2:49 AM To: GPUOpen-ProfessionalCompute-Libraries/amdovx-modules amdovx-modules@noreply.github.com Cc: Peter Zigo peter.zigo@nxp.com; Author author@noreply.github.com Subject: Re: [GPUOpen-ProfessionalCompute-Libraries/amdovx-modules] ERROR: vxGetKernelByName(context,"com.amd.nn_extension.convert_image_to_tensor") failed (-12:VX_ERROR_INVALID_REFERENCE) (#208)
I have run the test and did not see the error that you are reporting. I have attached the example with an image to this comment. Please try with the new files and see if you have the same issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FGPUOpen-ProfessionalCompute-Libraries%2Famdovx-modules%2Fissues%2F208%23issuecomment-421518154&data=02%7C01%7Cpeter.zigo%40nxp.com%7Cb13e042e59b94ecb782508d61aa4f6cd%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636725693157137316&sdata=MLGjIlaorTX66cFOtB8v1Y5nRaPmiTf7RnXeEA0qPis%3D&reserved=0, or mute the threadhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApREtIf-7Njytrz23BAKVrSwfC7vr0Btks5ubE5ggaJpZM4WpN1h&data=02%7C01%7Cpeter.zigo%40nxp.com%7Cb13e042e59b94ecb782508d61aa4f6cd%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636725693157137316&sdata=wRVu9o65Iz3DVhT%2FwfK%2B8i44aYWAQ3jacRxP5Wq4YTs%3D&reserved=0.
Hi, I tried your example, but from message below I can't load libvx_nn.so. Also I added lib path libvx_nn.so to LD_LIBRARY_PATH, but this didn't help.
./runvx example1.gdf runvx 0.9.9 OK: using AMD OpenVX 0.9.9 ERROR: Unable to load module libvx_nn.so ERROR: vxLoadKernels(context,"vx_nn") failed (-11:VX_ERROR_INVALID_MODULE)
????
@peter-zigo-nxp I have attached 2 scripts which will setup the deps for this project and build the project and installs.
Please follow the steps below after you unzip the files in the scripts.zip
Step 1: Run the setup.py script
python setup.py -s [sudo password] -d [setup directory - optional]
Step 2: Run the build.py scipt
python build.py -s [sudo password] -d [build directory - optional]
Step 3: Set Library path
. rocmrc
Step 4: Run the example
runvx example1.gdf
@peter-zigo-nxp it looks like you are not building the vx_nn project due to dependency failure. Please check if you have libvx_nn.so in the lib folder, if not just follow the instructions in the previous comment.
@peter-zigo-nxp I am closing this issue as it is not an amdovx-modules bug. If you still have build issues please open a new bug with the deps failure.
Hello,
I looking for help with vx_nn example 1: from https://github.com/GPUOpen-ProfessionalCompute-Libraries/amdovx-modules/blob/develop/vx_nn/README.md
I getting error message after run command in ./runvx shell runvx 0.9.9 OK: using AMD OpenVX 0.9.9 % com.amd.nn_extension.convert_image_to_tensor ERROR: syntax error: com.amd.nn_extension.convert_image_to_tensor See help for details. % node com.amd.nn_extension.convert_image_to_tensor ERROR: vxGetKernelByName(context,"com.amd.nn_extension.convert_image_to_tensor") failed (-12:VX_ERROR_INVALID_REFERENCE)
Environment description: Virtual ubuntu 16.04 CPU Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz