reid from https://github.com/michuanhaohao/reid-strong-baseline
554325746@qq.com
2020-02-05 7c6a958f00e327a8991f48093456de7cb84cf918
change log for proto marshal
1个文件已修改
4 ■■■■ 已修改文件
common/helper.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/helper.go
@@ -67,7 +67,7 @@
            }
            msg := protomsg.SdkMessage{}
            if err := proto.Unmarshal(d, &msg); err != nil {
                fn(err, " msg 处理异常")
                fn("UnserilizeProto Unmarshal msg 处理异常:", err)
                continue
            }
@@ -85,7 +85,7 @@
    i := &protomsg.Image{}
    err := proto.Unmarshal(msg.Data, i)
    if err != nil {
        fn(fnName, " protobuf decode CameraImage error: ", err.Error())
        fn(fnName, " protobuf Unmarshal decode CameraImage error: ", err.Error())
        return nil
    }
    if i.Data == nil {