Tramac / Fast-SCNN-pytorch

A PyTorch Implementation of Fast-SCNN: Fast Semantic Segmentation Network
Apache License 2.0
381 stars 93 forks source link

higher speed or forward inference time? #24

Open Zeeshan313 opened 4 years ago

Zeeshan313 commented 4 years ago

Sorry for asking same question as it is asked before but not answered. i am interested about the speed 123 fps mentioned by the author for high resolution images. i have trained this network for 1000 epochs and got 94% pixel accuracy and 63.5% mIoU. But i got only 10 fps on GeForce RTX 2080 with resolution of (1024x2048). can you please share your speed.

JoaoCH commented 3 years ago

first, thank you very much for making your work available here on github.

I am also not getting a good speed and is far from the 140 frames of the paper.

My inference time is about 10 fps and I have an RTX 2060.

GEMhust commented 2 years ago

Don't make predictions in the demo.py file, this speed is inaccurate because the model is reloaded for every prediction. We can refer to the eval.py file, which loads the model only once when predicting images in test. After my modification, I got 40FPS in my laptop with GeForce MX150. 1