from rknnlite.api import RKNNLite
rknn = RKNNLite()
RKNN_MODEL = "hrnet.rknn"
ret = rknn.load_rknn(RKNN_MODEL)
if ret != 0:
print("Load rknn model failed!")
exit(ret)
# init runtime environment
print("--> Init runtime environment")
ret = rknn.init_runtime()
sdk_version = rknn.get_sdk_version()
print(sdk_version)
rknn如何查看runtime和驱动的版本
最新推荐文章于 2024-10-08 08:29:36 发布