Symptom
When you use Vision SDK, the error [object Object] occurs.
In [object Object], run [object Object] to check the plugin. The plugin loads normally, but the same error still occurs when you run the program.
Cause Analysis
The GStreamer cache has not been cleared.
Solution
- Ensure that Python 3.9 is installed in the environment.
- Run
[object Object]to clear the GStreamer registry cache, where[object Object]is[object Object]or[object Object]depending on the actual runtime environment. Then rerun the program.
Symptom
When [object Object] or [object Object] data resides on the device side, calling the [object Object] interface to return a pointer and print the data pointed to by that pointer causes a coredump.
Cause Analysis
The device-side address space and the host-side address space are independent. The host side cannot directly access device-side data. For details, see CANN Application Development Guide (C&C++).
Solution
First use [object Object] or [object Object] to move the [object Object] or [object Object] data from the device side to the host side. Then try printing the data again.
Symptom
When you run the [object Object] or [object Object] interface, the error [object Object] occurs. The error code is [object Object].
Cause Analysis
The input shape is too large, or the computation for the transformation matrix is too heavy, which causes the [object Object] execution to time out.
Solution
Use data slicing to split the input shape or change the transformation matrix to reduce the data volume.
Symptom
After you import the environment variables for Vision SDK package, the system commands [object Object] and [object Object] become unavailable, and the error message mentions OpenSSL.
The error message for the [object Object] command is as follows:
The error message for the [object Object] command is as follows:
Cause Analysis
After you import Vision SDK environment variables, [object Object] or [object Object] in [object Object] conflicts with the [object Object] and [object Object] required by [object Object] and [object Object]. [object Object] is the actual Vision SDK version that is installed.
Solution
When you need to run the [object Object] or [object Object] commands, temporarily remove Vision SDK [object Object] path from the [object Object] environment variable. When you build Vision SDK-related programs, add [object Object] to [object Object] to specify the link path. When you run Vision SDK-related programs, add the [object Object] path back to the [object Object] environment variable.
Symptom
On [object Object] architecture devices, running the [object Object] interface causes a coredump. The stack trace shows that the last execution occurs in [object Object].
Cause Analysis
The user program links to [object Object], so at runtime it loads the higher-version [object Object] from the software package first. Some [object Object] interfaces call the Python C API at runtime, but the Python installation in the environment depends on the lower-version [object Object] that comes with the system. The two [object Object] versions conflict on [object Object] architecture devices and cause a coredump.
Solution
Check which Python the current environment uses, and run the following command in the corresponding
[object Object]directory:[object Object]Use
[object Object]to view the path of the[object Object]on which the found[object Object]file depends:[object Object]Run the following command to give priority to the
[object Object]shared library that Python depends on:[object Object]