@Frank Frank, i was trying to implement yolov3 on VIM3. But during the process, I get the following error.
Pls note that I have already downloaded the weights and .cfg file. Now even when I give the path as arguments, I am getting this error. Please help me with the same.
@Frank Yes, I changed the number of classes to 1.
And I have a doubt with coco_names aswell. Since I am working with one class, do I have to change those into just my class name? My class name is “holes”. Do I have to modify the class name?
Can you please elaborate on how I need to modify these as I am not able to open that file.
@Frank@numbqq okay, I’ll try that only if the traditional method doesn’t work. The source code is written in which OpenCV version? Is it 3.4? I am not sure about modifying the source code, so please tell me which version needs to be installed to fix this error.
@Frank@numbqq Please let me know what and which version needs to be installed in order to overcome the mentioned error. "./detect_demo_x11: error while loading shared libraries: libopencv_imgproc.so.3.4: cannot open shared object file: No such file or directory"
If OpenCV 3 needs to be installed, I tried doing that, but I am getting an error.
khadas@Khadas:~/aml_npu_demo_binaries/detect_demo_picture$ sudo apt install opencv3 Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed:
** opencv3** 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 8,123 kB of archives. After this operation, 1,024 B of additional disk space will be used. Get:1 https://dl.khadas.com/repos/vim3 focal/main arm64 opencv3 arm64 3.4.3-2 [8,123 kB] Fetched 8,123 kB in 1s (15.1 MB/s) Selecting previously unselected package opencv3. (Reading database … 83691 files and directories currently installed.) Preparing to unpack …/opencv3_3.4.3-2_arm64.deb … Unpacking opencv3 (3.4.3-2) … dpkg: error processing archive /var/cache/apt/archives/opencv3_3.4.3-2_arm64.deb (–unpack):
** trying to overwrite ‘/usr/bin/opencv_annotation’, which is also in package libopencv-dev 4.2.0+dfsg-5** dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing:
** /var/cache/apt/archives/opencv3_3.4.3-2_arm64.deb** E: Sub-process /usr/bin/dpkg returned an error code (1)
@numbqq@Frank Thank you very much! I installed OpenCV 3 and overcame that error. But Now, I am getting this error as can be seen in the screenshot. Please let me know what went wrong.
Please note that I did not recieve any error during the process of executing the shell script using bash command.