• F
    fffff

    1当输入为文件夹里多张图像及单张图像不能正常预测,只显示第一张图像的原图,没有mask颜色信息,这个问题怎么解决?☹

    2在视频文件运行结束时出现,是不是视频结束就会这样?☺
    *** Error in `./build/examples/demo_solov2_coco': double free or corruption (out): 0x0000000044a0bff0 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x777f5)[0x7f64c259d7f5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x8038a)[0x7f64c25a638a]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f64c25aa58c]
    ./build/examples/demo_solov2_coco(ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT+0x18)[0x425545]
    ./build/examples/demo_solov2_coco(ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9+0x2e)[0x424c62]
    ./build/examples/demo_solov2_coco(ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvT_S7+0x23)[0x4237fc]
    ./build/examples/demo_solov2_coco(_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E+0x27)[0x4222e7]
    ./build/examples/demo_solov2_coco(_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev+0x35)[0x420f4f]
    /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7f64c256037a]
    /usr/local/lib/libthor.so(+0x162c83)[0x7f64c7593c83]

    发布在 社区求助区(SOS!!) 阅读更多
  • F
    fffff

    @fffff 可以运行了,video可以。单张图像或多张图像文件夹,cv窗口只显示原图没有mask颜色信息

    发布在 原创分享专区 阅读更多
  • F
    fffff

    没有跑通demo,demo_solov2_coco 直接传入云盘里的onnx模型提示转换engin失败,利用tensorrt中bin里的工具将onnx转化trt,跑demo提示
    [05/28/2021-21:44:19] [I] deserialize engine from: model.trt
    [05/28/2021-21:44:23] [W] [TRT] TensorRT was linked against cuBLAS/cuBLAS LT 11.3.0 but loaded cuBLAS/cuBLAS LT 11.2.1
    [05/28/2021-21:44:23] [W] [TRT] TensorRT was linked against cuBLAS/cuBLAS LT 11.3.0 but loaded cuBLAS/cuBLAS LT 11.2.1
    [05/28/2021-21:44:23] [I] deserialize done.
    [05/28/2021-21:44:23] [I] checking engine....
    [05/28/2021-21:44:23] [I] engine maxBatchSize: 1
    [05/28/2021-21:44:23] [I] engine NbBindings: 5
    [05/28/2021-21:44:23] [I] BindingName at: 0=batched_inputs.1 Dims=4 shape: 1,704,704,3, [input] kFLOAT
    [05/28/2021-21:44:23] [I] BindingName at: 1=cate_scores Dims=1 shape: 100, kINT32
    [05/28/2021-21:44:23] [I] BindingName at: 2=seg_masks Dims=1 shape: 100, kFLOAT
    [05/28/2021-21:44:23] [I] BindingName at: 3=cate_labels Dims=4 shape: 1,100,736,992, kFLOAT
    [05/28/2021-21:44:23] [I] BindingName at: 4=keep Dims=1 shape: 100, kINT32
    [05/28/2021-21:44:23] [I] check engine done.
    [05/28/2021-21:44:23] [I] buffer manager created. with batchSize=1
    [05/28/2021-21:44:23] [I] reset input params from engine....
    [05/28/2021-21:44:23] [I] engine maxBatchSize: 1
    [05/28/2021-21:44:23] [I] engine NbBindings: 5
    [05/28/2021-21:44:23] [I] BindingName at: 0 (batched_inputs.1), Dims=4 shape: 1,704,704,3, [input]
    [05/28/2021-21:44:23] [I] BindingName at: 1 (cate_scores), Dims=1 shape: 100,
    [05/28/2021-21:44:23] [I] BindingName at: 2 (seg_masks), Dims=1 shape: 100,
    [05/28/2021-21:44:23] [I] BindingName at: 3 (cate_labels), Dims=4 shape: 1,100,736,992,
    [05/28/2021-21:44:23] [I] BindingName at: 4 (keep), Dims=1 shape: 100,
    [05/28/2021-21:44:23] [I] detected HWC mode on (which means preprocess could burned into your model).

    InputTensorNames: batched_inputs.1
    OutputTensorNames: cate_scores seg_masks cate_labels keep
    ImgCHW: 3x704x704, batchSize: 1
    InsMaskOutputShape: 100x736x992
    [05/28/2021-21:44:23] [I] input data size: 1486848*** Error in `./demo_solov2_coco': double free or corruption (out): 0x0000000000bf23d0 ***
    ======= Backtrace: =========
    /lib/x86_64-linux-gnu/libc.so.6(+0x777f5)[0x7fcf988b17f5]
    /lib/x86_64-linux-gnu/libc.so.6(+0x8038a)[0x7fcf988ba38a]
    /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fcf988be58c]
    ./demo_solov2_coco(ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT+0x18)[0x425c05]
    ./demo_solov2_coco(ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9+0x2e)[0x425322]
    ./demo_solov2_coco(ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvT_S7+0x23)[0x423ebc]
    ./demo_solov2_coco(_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E+0x27)[0x4229a7]
    ./demo_solov2_coco(_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev+0x35)[0x4215ed]
    /lib/x86_64-linux-gnu/libc.so.6(__cxa_finalize+0x9a)[0x7fcf9887437a]
    /usr/local/lib/libthor.so(+0x162c93)[0x7fcf9ceacc93]
    请问这是什么问题?怎么解决,期待您的回答和帮助

    发布在 原创分享专区 阅读更多

与 神力AI社区 的连接断开,我们正在尝试重连,请耐心等待