zhangmeng
2019-12-19 fbb93e183a214213f3a24aea699aa318c686a9c4
Merge branch 'cuda-10.0' of ssh://192.168.5.5:29418/analysis into cuda-10.0
1个文件已修改
6 ■■■■ 已修改文件
gohumantrack/gohumantrack.go 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gohumantrack/gohumantrack.go
@@ -153,8 +153,8 @@
    }
    cRet := C.process(h.handle, cImgs, C.int(h.batchSize), h.result)
    if cRet == nil {
        return nil, errors.New("create C results error")
    if cRet != 0 {
        return nil, fmt.Errorf("process error: %d", int(cRet))
    }
    var result []FgResult
@@ -188,7 +188,7 @@
    cRet := C.process(h.handle, cImgs, C.int(h.batchSize), h.result)
    if cRet != 0 {
        return nil, fmt.Errorf("process error: %d", cRet)
        return nil, fmt.Errorf("process image pointer error: %d", int(cRet))
    }
    var result []FgResult