reid from https://github.com/michuanhaohao/reid-strong-baseline
zhangmeng
2020-01-14 2b95524b287a4d254bfe4654e2a8aaadc5ffe035
run.go
@@ -6,6 +6,7 @@
   "fmt"
   "io/ioutil"
   "os"
   "strings"
   "time"
   "unsafe"
@@ -99,6 +100,12 @@
   for {
      if err = sock.Listen(s.ipc); err != nil {
         suf := "ipc://"
         p := strings.Index(s.ipc, suf)
         if p >= 0 {
            file := s.ipc[p+len(string(suf)):]
            os.Remove(file)
         }
         s.fnLogger("can't listen on rep socket: ", err)
         time.Sleep(5 * time.Millisecond)
      } else {