PaddlePaddle / PaddleSeg

Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.
https://arxiv.org/abs/2101.06175
Apache License 2.0
8.63k stars 1.68k forks source link

关于推理部分出现的BUG #2167

Closed xiaodaomingye459 closed 2 years ago

xiaodaomingye459 commented 2 years ago

image image

xiaodaomingye459 commented 2 years ago

我按照说明文档进行实验,但是不知道在哪测试FPS,遇到了如上的问题。

juncaipeng commented 2 years ago

这是由于校验paddle和onnx模型输出是否存在误差,你可以将如下代码的atol设置大一点,比如1e-2。 image

xiaodaomingye459 commented 2 years ago

将atol设置成1e-2后出现如下问题,如何解决? image

xiaodaomingye459 commented 2 years ago

您好,上面的问题是由于tensorrt的版本BUG我已经解决。 image

然后关于这里的测试结果是平均时延,论文的指标为FPS,如果计算这里的倒数,也与论文PP-LiteSeg-B1 1024X512的195.3相差很多,请问这可能是什么原因造成的?

juncaipeng commented 2 years ago

这个跑出来fps差距有点大,是不是这个显卡也有其他进程在运行?

xiaodaomingye459 commented 2 years ago

您好,在cityscapes上我的测速达到了论文效果,但是想在camvid数据集上测速时,却遇到了如下问题: image 意思是缺少类别数,请问要在哪里修改。

juncaipeng commented 2 years ago

由于最近更新,引入了bug,修复pr:https://github.com/PaddlePaddle/PaddleSeg/pull/2200

xiaodaomingye459 commented 2 years ago

万分感谢!