reid from https://github.com/michuanhaohao/reid-strong-baseline
zhangmeng
2020-01-14 9b01e3eec13fae6c8e855fe2f4b331b9b20ce638
switch to yolo debug
1个文件已修改
20 ■■■■■ 已修改文件
run.go 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
run.go
@@ -6,6 +6,7 @@
    "fmt"
    "io/ioutil"
    "os"
    "time"
    "unsafe"
    "basic.com/libgowrapper/sdkhelper.git"
@@ -87,8 +88,13 @@
            return
        default:
            for {
            msg, err = c.Recv()
            if err != nil {
                if err == nil {
                    break
                }
                s.fnLogger("REID~~~~~~Recv From HumanTrack error: ", err)
                time.Sleep(5 * time.Millisecond)
                continue
            }
@@ -134,7 +140,17 @@
            }
            buf := float32SliceAsByteSlice(feat)
            ioutil.WriteFile("./reid-feat-byte.txt", buf, 0644)
            c.Send(buf)
            for {
                err = c.Send(buf)
                if err == nil {
                    break
                }
                s.fnLogger("REID~~~~~~Send HumanTrack error: ", err)
                time.Sleep(5 * time.Millisecond)
                continue
            }
        }
    }