zhangmeng
2019-12-20 5686be82f6a349c7751fe0447e30d8ebd4293347
gohumantrack/gohumantrack.go
@@ -215,11 +215,11 @@
         // C.fill_images(cImgs, C.int(h.batchSize), C.int(k), fake, C.int(wid), C.int(hei), C.int(chn))
         v = fakeImage
         logo.Infoln("batch~~~~~~ fake image len: ", len(v.Data), " size: ", v.Width, "x", v.Height, "x", v.Channel)
         logo.Infoln("batch~~~~~~ fake image ", k, " len: ", len(v.Data), " size: ", v.Width, "x", v.Height, "x", v.Channel)
         C.fill_images(cImgs, C.int(h.batchSize), C.int(k), unsafe.Pointer(&v.Data[0]), C.int(v.Width), C.int(v.Height), C.int(v.Channel))
      } else {
         logo.Infoln("batch~~~~~~ real image len: ", len(v.Data), " size: ", v.Width, "x", v.Height, "x", v.Channel)
         logo.Infoln("batch~~~~~~ real image ", k, " len: ", len(v.Data), " size: ", v.Width, "x", v.Height, "x", v.Channel)
         C.fill_images(cImgs, C.int(h.batchSize), C.int(k), unsafe.Pointer(&v.Data[0]), C.int(v.Width), C.int(v.Height), C.int(v.Channel))
      }
   }