|
5#
楼主 |
发表于 2020-5-28 09:33:21
|
只看该作者
我看了几遍了,web 升级方式也用了,SSH登录升级也用了,但是没啥用。依旧之前的错误。
C:\Users\nicky\Downloads\RockX_SDK_V1.2.0_20200302\python\test\camera>python -m rockx.test.camera.rockx_face_recog -b face.db -i face
camera= 0
db_file= face.db
image_dir= face
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 0.9.9 (098523f build: 2019-08-14 17:09:13)
D RKNNAPI: DRV: 0.9.8 (943f8e8 build: 2019-07-03 17:51:17)
D RKNNAPI: ==============================================
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 0.9.9 (098523f build: 2019-08-14 17:09:13)
D RKNNAPI: DRV: 0.9.8 (943f8e8 build: 2019-07-03 17:51:17)
D RKNNAPI: ==============================================
E RKNNAPI: rknn_init, msg_load_ack fail, ack = 1(ACK_FAIL), expect 0(ACK_SUCC)!
E RKNNAPI: ==============================================
E RKNNAPI: RKNN VERSION:
E RKNNAPI: API: 0.9.9 (098523f build: 2019-08-14 17:09:13)
E RKNNAPI: DRV: 0.9.8 (943f8e8 build: 2019-07-03 17:51:17)
E RKNNAPI: ==============================================
1491488408 rockx load_model(74): rknn_init fail! ret=-6
1491488416 rockx init(74): init module(3) error -1
Traceback (most recent call last):
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\site-packages\rockx\test\camera\rockx_face_recog.py", line 147, in <module>
import_face(face_db, args.image_dir)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\site-packages\rockx\test\camera\rockx_face_recog.py", line 102, in import_face
feature, align_img = get_face_feature(image_path)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\site-packages\rockx\test\camera\rockx_face_recog.py", line 80, in get_face_feature
ret, face_feature = face_recog_handle.rockx_face_recognize(align_img)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\site-packages\rockx\RockX.py", line 259, in rockx_face_recognize
ret, result = self.rockx_base.rockx_face_recognize(in_aligned_img, 112, 112, RockX.ROCKX_PIXEL_FORMAT_RGB888)
File "C:\Users\nicky\AppData\Local\Programs\Python\Python36\lib\site-packages\rockx\RockXBase.py", line 259, in rockx_face_recognize
ret = RockXBase.lib.rockx_face_recognize(self.handle, pointer(in_rockx_img), pointer(out_face_feature))
OSError: exception: access violation reading 0x0000000000000000 |
|