You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current inference time measurement followed as faster rcnn. Moreover, each forward only process a single image at test, so we do not need synchronize to depress the power of CUDA.
Hi,
I think you should add
torch.cuda.synchronize()
inside timer(e.g. afternet(x)
), because CUDA is asynchronous.By adding this, I got ~0.12s/forward.
The text was updated successfully, but these errors were encountered: