【AIWIN 提问 - 标准测试】+ 提交格式【已解决】

比赛 snowhou ⋅ 于 10个月前 ⋅ 最后回复由 snowhou 10个月前 ⋅ 629 阅读

测试 SDK 接口无法得到正确的结果
昨晚更新了 Python 接口后,已经替换了 env_sdk 中的文件,ji.py 中的 提交格式也改成了 demo 中。
file
运行 ji.py
file
编码环境中测试 SDK 报错

I0530 12:34:20.586388 37388 test.cpp:700] version info:
        EV_SDK_VERSION: 3.0.0
I0530 12:34:20.587033 37388 test.cpp:797] run params info:
        fuction: 1.ji_calc_frame
        infile: ../data/mask.jpg
        args: 
        outfile: 
        repeat:1
I0530 12:34:21.076550 37388 SampleDetectorImplPy.cpp:113] Loading ji.py...
I0530 12:34:22.628525 37388 SampleDetectorImplPy.cpp:122] ji python module successfully loaded.
I0530 12:34:22.628620 37388 SampleDetectorImplPy.cpp:129] init loaded.
I0530 12:34:22.628648 37388 SampleDetectorImplPy.cpp:129] process_image loaded.
INFO:root:Loading model...
I0530 12:34:28.862701 37388 ji.cpp:112] SamplePredictor init OK.
I0530 12:34:29.023479 37388 test.cpp:188] call ji_calc_frame, return 0
I0530 12:34:29.023530 37388 test.cpp:192] event info:
        code: 0
        json: {
        "objects":      []
}
I0530 12:34:29.023926 37388 test.cpp:237] Input image not modfied.
Exception ignored in: <module 'threading' from '/usr/lib/python3.6/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 1289, in _shutdown
    assert tlock.locked()
SystemError: <built-in method locked of _thread.lock object at 0x7f1ad4e577b0> returned a result with an error set

实际测试时提示这个错误
file
https://www.cvmart.net/storage/test_terminal_log/1894.html
请问是哪里出了问题?

成为第一个点赞的人吧 :bowtie:
回复数量: 1
  • 好了, 解决了,不能按照 demo 里 ji.py 中的提交格式弄

    10个月前
您需要登陆以后才能留下评论!