VITA-Group / FasterSeg

[ICLR 2020] "FasterSeg: Searching for Faster Real-time Semantic Segmentation" by Wuyang Chen, Xinyu Gong, Xianming Liu, Qian Zhang, Yuan Li, Zhangyang Wang
MIT License
524 stars 106 forks source link

inference speed #4

Closed yyfyan closed 4 years ago

yyfyan commented 4 years ago

Can you provide some compare about TensorRT and Pytorch at inference speed? thanks.

chenwydj commented 4 years ago

For our searched architecture (FasterSeg): TensorRT: 163.9 FPS Pytorch: 89.8 FPS

yyfyan commented 4 years ago

OK, thanks. TensorRT can process arbitrary pytorch model?

chenwydj commented 4 years ago

I think Pythorch supports more layer types and configurations. But for most common layer's, yes TensorRT does support.

zhangyunming commented 4 years ago

in the compare list ,does fast scnn or else use tensorrt?

chenwydj commented 4 years ago

More works used TensorRT:

lxtGH commented 4 years ago

@zhangyunming fast scnn use the TensorRT and its pytorch speed is only 70+ FPS

chenwydj commented 4 years ago

@lxtGH Where did you find this? I did not see this in Fast-SCNN paper.

lxtGH commented 4 years ago

@chenwydj I emailed to the author and also I test it in my implementation.

chenwydj commented 4 years ago

@lxtGH Thanks for sharing the info!

lxtGH commented 4 years ago

@chenwydj Could you share your speed on Camvid and BDD without using the Tensor-RT ??

chenwydj commented 4 years ago

@lxtGH Pytorch version FPS CamVid (720x960): 131.8 BDD (720x1280): 127.3