U-2-Net
U-2-Net copied to clipboard
Inference time is slow
u2net_test.py It took more than 1 second to detect a single image of 2080, but you can see that it is 30 frames in the 1080 test, what is the reason for this?
There could be multiple reasons for slow inference:
- Slow CPU / GPU.
- Not enough RAM leading to paging.
- More parameters have been added (probably by changing the output shape), thus taking more computation time.