update axcl aarch64 bin
Browse files
install/lib/axcl_aarch64/libyoloworld.so
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21600304ae9e8997ab10a641980b7b4a7788985b3478cf49b09e9643f7bdc5b8
|
| 3 |
+
size 4456496
|
pyyoloworld/__pycache__/pyaxdev.cpython-312.pyc
ADDED
|
Binary file (7.3 kB). View file
|
|
|
pyyoloworld/__pycache__/pyyoloworld.cpython-312.pyc
ADDED
|
Binary file (8.2 kB). View file
|
|
|
pyyoloworld/libyoloworld.so
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24315473f208e7065e3196863fa82c60d072d7941a4fc2747d44bc801cbaea04
|
| 3 |
+
size 4456456
|
pyyoloworld/pyaxdev.py
CHANGED
|
@@ -49,7 +49,7 @@ for lib_path in lib_paths:
|
|
| 49 |
elif "No such file" in err_str:
|
| 50 |
if "file_not_found" not in diagnostic_shown:
|
| 51 |
diagnostic_shown.add("file_not_found")
|
| 52 |
-
print("🔍 File not found. Please verify that
|
| 53 |
elif "wrong ELF class" in err_str:
|
| 54 |
if "elf_mismatch" not in diagnostic_shown:
|
| 55 |
diagnostic_shown.add("elf_mismatch")
|
|
@@ -61,7 +61,7 @@ for lib_path in lib_paths:
|
|
| 61 |
print("📎 Tip: Use `ldd` to inspect missing dependencies:")
|
| 62 |
print(f" ldd {lib_path}\n")
|
| 63 |
else:
|
| 64 |
-
raise RuntimeError(f"\n❗ Failed to load
|
| 65 |
|
| 66 |
|
| 67 |
# 定义枚举类型
|
|
@@ -146,4 +146,4 @@ def sys_init(dev_type: AxDeviceType = AxDeviceType.axcl_device, devid: int = 0):
|
|
| 146 |
|
| 147 |
|
| 148 |
def sys_deinit(dev_type: AxDeviceType = AxDeviceType.axcl_device, devid: int = 0):
|
| 149 |
-
check_error(_lib.ax_dev_sys_deinit(dev_type, devid))
|
|
|
|
| 49 |
elif "No such file" in err_str:
|
| 50 |
if "file_not_found" not in diagnostic_shown:
|
| 51 |
diagnostic_shown.add("file_not_found")
|
| 52 |
+
print("🔍 File not found. Please verify that libyoloworld.so exists and the path is correct.\n")
|
| 53 |
elif "wrong ELF class" in err_str:
|
| 54 |
if "elf_mismatch" not in diagnostic_shown:
|
| 55 |
diagnostic_shown.add("elf_mismatch")
|
|
|
|
| 61 |
print("📎 Tip: Use `ldd` to inspect missing dependencies:")
|
| 62 |
print(f" ldd {lib_path}\n")
|
| 63 |
else:
|
| 64 |
+
raise RuntimeError(f"\n❗ Failed to load libyoloworld.so.\nLast error:\n{last_error}")
|
| 65 |
|
| 66 |
|
| 67 |
# 定义枚举类型
|
|
|
|
| 146 |
|
| 147 |
|
| 148 |
def sys_deinit(dev_type: AxDeviceType = AxDeviceType.axcl_device, devid: int = 0):
|
| 149 |
+
check_error(_lib.ax_dev_sys_deinit(dev_type, devid))
|