Open jishanshanss opened 4 years ago
wow, It works! My detector speed increased by 20%! excellent! Another question, what's your utilization rate of the GPU? Mine is only 1%, what can I do to improve it? Or is there anything wrong during my installation?
sorry , I don't know much about it
try to use this command :watch -n0.05 nvidia-smi
to watch your device, it changes every time, hope it works
can you tell me your fps? my fps is just 8 or 9.
can you tell me your fps? my fps is just 8 or 9.
mine is just 9-11, also not very high.Maybe that is because my GPU is poor
my gpu 1080ti. how about yours?
mine is 1050, but the number of the object in my video is small, about 25--35. What about yours?
much the same! I don't know why my fps is so low
original code :
I suggest using:
the test speed will be faster :
resized = cv2.resize(ori_img, self.size, interpolation=cv2.INTER_LINEAR) img_in = np.transpose(resized, (2, 0, 1)).astype(np.float32) img_in = np.expand_dims(img_in, axis=0) img_in /= 255.0 img_in = np.ascontiguousarray(img_in) Tensor = torch.cuda.FloatTensor img = Variable(torch.tensor(img_in).to(self.device))