Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

示例文档中部署ppyoloe在server端返回结果异常 #2400

Open
hxuaj opened this issue Mar 6, 2024 · 2 comments
Open

示例文档中部署ppyoloe在server端返回结果异常 #2400

hxuaj opened this issue Mar 6, 2024 · 2 comments
Assignees

Comments

@hxuaj
Copy link

hxuaj commented Mar 6, 2024

  • 镜像版本registry.baidubce.com/paddlepaddle/fastdeploy:1.0.7-gpu-cuda11.4-trt8.5-21.10
    -【系统平台】: Linux x64
    -【硬件】: Nvidia T4, Driver Version: 545.23.06

在跑示例文档https://github.com/PaddlePaddle/FastDeploy/blob/develop/examples/vision/detection/paddledetection/serving/README_CN.md 部署ppyoloe在服务端时,遇到了返回结果异常的情况(从结果里看似乎是没有nms或者过滤低score的bbox)。

tm: name: "INPUT"
datatype: "UINT8"
shape: -1
shape: -1
shape: -1
shape: 3

output_name: DET_RESULT
{'boxes': [[415.0473327636719, 89.31150817871094, 506.0096130371094, 283.86309814453125], [163.6656951904297, 81.9148941040039, 198.58534240722656, 166.76087951660156], [581.7886352539062, 113.02760314941406, 612.62353515625, 198.5216827392578], [267.21722412109375, 89.77732849121094, 298.7960510253906, 169.3614959716797], [104.46560668945312, 45.4824104309082, 127.68883514404297, 93.53387451171875], [348.90216064453125, 44.059322357177734, 367.54168701171875, 98.40352630615234], [363.8897399902344, 58.385528564453125, 381.3974914550781, 114.65235900878906], [504.84381103515625, 114.53160095214844, 612.2809448242188, 271.2926025390625], [328.225830078125, 38.96531295776367, 347.2108459472656, 80.57064819335938], [379.1754455566406, 40.791236877441406, 394.87908935546875, 83.98038482666016], [25.863767623901367, 117.8653793334961, 61.25945281982422, 153.15689086914062], [279.3775634765625, 80.79803466796875, 296.59808349609375, 109.84254455566406], [464.14312744140625, 15.278188705444336, 472.0542907714844, 33.781959533691406], [169.602783203125, 47.34526062011719, 178.55377197265625, 61.11117172241211], [504.60418701171875, 113.7492446899414, 571.9451904296875, 273.1382141113281], [186.65345764160156, 44.978328704833984, 200.0539093017578, 61.18734359741211], [278.9233093261719, 80.30986785888672, 297.70343017578125, 166.29754638671875], [239.76409912109375, 96.78807830810547, 253.03810119628906, 118.55729675292969], [154.4526824951172, 122.37461853027344, 174.47116088867188, 163.78829956054688], [479.463623046875, 22.919111251831055, 485.5457458496094, 33.30751419067383], [410.3473815917969, 22.929636001586914, 418.0113220214844, 33.90645980834961], [398.67620849609375, 24.442699432373047, 405.7421569824219, 33.88005065917969], [279.5631103515625, 80.63456726074219, 298.11578369140625, 140.30868530273438], [64.93060302734375, 135.47802734375, 85.6537094116211, 154.052978515625], [0.786351203918457, 126.58541107177734, 40.16394805908203, 155.860595703125], [504.5357360839844, 158.92918395996094, 619.2892456054688, 271.0347595214844], [353.5274353027344, 44.34095764160156, 365.78240966796875, 93.13836669921875], [238.58297729492188, 90.62461853027344, 276.26226806640625, 165.94500732421875], [0.740142822265625, 122.25225067138672, 51.19392013549805, 154.63861083984375], [416.4222412109375, 190.34901428222656, 481.7032165527344, 284.4598388671875], [525.2088623046875, 19.898366928100586, 534.68603515625, 33.50472640991211], [504.77154541015625, 113.66645812988281, 555.013916015625, 177.9217529296875], [0.15939617156982422, 126.7978515625, 37.95818328857422, 170.1544647216797], [153.82296752929688, 123.7216567993164, 183.4593963623047, 164.6437225341797], [0.23960399627685547, 126.76113891601562, 8.49870491027832, 171.0194091796875], [239.02842712402344, 95.5167465209961, 258.7713928222656, 128.20510864257812], [536.0523071289062, 22.960216522216797, 544.8829956054688, 33.861820220947266], [195.5425262451172, 124.2804183959961, 212.7749481201172, 155.08444213867188], [239.32289123535156, 94.55370330810547, 264.38543701171875, 153.7139434814453], [57.42528533935547, 152.53089904785156, 104.53608703613281, 173.46681213378906], [0.5161876678466797, 36.44532012939453, 5.782716751098633, 43.749813079833984], [363.78173828125, 58.27681350708008, 377.4848327636719, 90.18199920654297], [217.50582885742188, 83.51508331298828, 252.95803833007812, 118.43180847167969], [279.4331970214844, 80.42427062988281, 302.5350036621094, 151.67153930664062], [584.48828125, 26.752487182617188, 597.4041137695312, 33.81547164916992], [197.61282348632812, 81.76798248291016, 253.2484588623047, 157.53155517578125], [4.529094219207764, 134.43199157714844, 38.82701873779297, 154.2007293701172], [349.8576354980469, 55.54695510864258, 383.3367004394531, 112.15912628173828], [363.1408996582031, 57.4027214050293, 392.0172119140625, 115.85466003417969], [169.24462890625, 46.82175827026367, 181.5938720703125, 61.542266845703125], [-0.1238718032836914, 126.4898681640625, 8.003314971923828, 155.27789306640625], [99.50037384033203, 151.31504821777344, 118.58633422851562, 169.17198181152344], [25.359241485595703, 117.5168228149414, 49.0174560546875, 137.96414184570312], [204.18983459472656, 83.05860137939453, 253.259765625, 120.18955993652344], [168.95484924316406, 47.00589370727539, 178.7480010986328, 73.5147705078125], [273.036376953125, 88.34422302246094, 296.83282470703125, 109.83258819580078], [401.0738220214844, 23.157913208007812, 412.32110595703125, 33.82148742675781], [7.888867378234863, 117.32171630859375, 57.85581970214844, 155.16140747070312], [505.08026123046875, 113.92462921142578, 555.4822998046875, 235.09524536132812], [239.62301635742188, 95.9066390991211, 263.9088439941406, 134.457275390625], [57.121646881103516, 153.02540588378906, 86.1454086303711, 173.2971954345703], [272.8516845703125, 88.57711029052734, 296.7515563964844, 129.9718017578125], [415.3750305175781, 89.75614929199219, 506.9835510253906, 194.9457550048828], [267.9065246582031, 90.82560729980469, 296.7994384765625, 140.1407928466797], [423.9007263183594, 81.24815368652344, 603.3036499023438, 276.6430358886719], [588.5612182617188, 173.52505493164062, 604.80810546875, 197.98690795898438], [584.0293579101562, 113.26741790771484, 612.484375, 177.51014709472656], [164.07598876953125, 124.59485626220703, 191.23179626464844, 165.71856689453125], [105.03042602539062, 45.5959358215332, 127.6837387084961, 74.20264434814453], [169.08651733398438, 47.23845291137695, 178.61878967285156, 65.7249984741211], [535.14111328125, 16.430753707885742, 568.654296875, 34.355892181396484], [64.82987213134766, 135.4317169189453, 97.76400756835938, 157.451171875], [410.95367431640625, 10.481751441955566, 419.670654296875, 28.81130027770996], [548.3133544921875, 112.7360610961914, 614.0767211914062, 218.4713897705078], [75.31558990478516, 122.07091522216797, 101.8942642211914, 155.04481506347656], [416.4981384277344, 102.90975189208984, 485.0086975097656, 284.864501953125], [481.39300537109375, 22.826316833496094, 489.5166931152344, 32.84419250488281], [367.9981689453125, 68.89327239990234, 381.3599548339844, 114.69693756103516], [579.1638793945312, 112.252685546875, 625.4959106445312, 213.7901611328125], [-0.1423358917236328, 122.49160766601562, 25.421987533569336, 170.0618438720703], [556.9065551757812, 27.980899810791016, 568.57568359375, 33.81419372558594], [555.6651000976562, 112.73583221435547, 612.1076049804688, 247.35133361816406], [195.66465759277344, 96.38968658447266, 221.67654418945312, 156.46803283691406], [194.24136352539062, 82.36378479003906, 240.91346740722656, 154.21315002441406], [164.0039520263672, 82.16191864013672, 197.33901977539062, 126.35895538330078], [332.4733581542969, 41.394317626953125, 352.50146484375, 82.90718841552734], [59.18156051635742, 135.38754272460938, 86.11772155761719, 171.28651428222656], [411.5816650390625, 10.556546211242676, 420.6654357910156, 25.59926414489746], [255.8538360595703, 80.89381408691406, 298.96142578125, 163.166259765625], [263.8378601074219, 142.13685607910156, 274.08221435546875, 162.6181640625], [154.25360107421875, 116.09152221679688, 197.474609375, 165.05703735351562], [85.30513763427734, 156.26316833496094, 103.57791137695312, 172.71054077148438], [575.5387573242188, 173.59588623046875, 604.4942626953125, 197.8204345703125], [161.67410278320312, 83.49578857421875, 210.1561279296875, 165.02163696289062], [462.35528564453125, 161.00872802734375, 469.1642150878906, 173.6923065185547], [464.6841735839844, 14.842952728271484, 477.8023681640625, 33.94887161254883], [374.2080993652344, 24.42507553100586, 384.7043151855469, 33.53703308105469], [148.78543090820312, 81.63707733154297, 198.39540100097656, 166.12245178222656], [163.43331909179688, 81.5866928100586, 235.91885375976562, 166.3901824951172], [235.7521514892578, 88.68202209472656, 253.46844482421875, 119.18019104003906], [215.6936798095703, 81.81437683105469, 232.10289001464844, 111.99567413330078], [379.4805908203125, 40.56340408325195, 396.8534240722656, 74.28878784179688], [525.5950927734375, 21.393497467041016, 534.8746948242188, 33.76261520385742], [536.4329223632812, 23.241092681884766, 546.6116943359375, 33.95100402832031], [583.0391235351562, 26.307029724121094, 603.0292358398438, 33.98405456542969], [543.4886474609375, 16.19952392578125, 568.9390258789062, 29.978548049926758], [539.5552978515625, 16.178848266601562, 568.8953857421875, 34.20614242553711], [621.5250244140625, 5.0936384201049805, 638.3634643554688, 11.090214729309082], [570.5025634765625, 26.96520233154297, 602.3051147460938, 34.15656280517578], [556.9065551757812, 27.980899810791016, 568.57568359375, 33.81419372558594], [583.7063598632812, 26.870195388793945, 603.4033813476562, 34.10969161987305], [603.887939453125, 5.724186420440674, 623.5446166992188, 11.43508529663086], [536.0523071289062, 22.960216522216797, 544.8829956054688, 33.861820220947266], [531.5512084960938, 18.56842803955078, 569.04052734375, 33.82920837402344], [585.2420043945312, 27.155885696411133, 598.4056396484375, 33.9611701965332], [410.3473815917969, 22.929636001586914, 418.0113220214844, 33.90645980834961], [525.2088623046875, 19.898366928100586, 534.68603515625, 33.50472640991211], [398.67620849609375, 24.442699432373047, 405.7421569824219, 33.88005065917969], [485.992919921875, 25.199966430664062, 497.2183532714844, 32.6937141418457], [0.284501314163208, 15.109296798706055, 14.804917335510254, 24.112165451049805], [0.15656375885009766, 14.728020668029785, 18.1372013092041, 25.94812774658203], [599.2529907226562, 5.439635276794434, 628.6209716796875, 11.748708724975586], [541.2657470703125, 18.503772735595703, 603.1679077148438, 34.099021911621094], [580.8844604492188, 4.908934593200684, 629.9612426757812, 12.080033302307129], [478.3133239746094, 14.035962104797363, 564.8131103515625, 33.063941955566406], [572.3507690429688, 24.321306228637695, 603.5548706054688, 34.558815002441406], [490.16888427734375, 8.107921600341797, 574.7966918945312, 32.964786529541016], [543.4024658203125, 10.552515029907227, 569.29248046875, 30.699399948120117], [390.0893249511719, 25.00470542907715, 405.44085693359375, 33.68592834472656], [552.7640380859375, 23.427576065063477, 603.1658325195312, 34.204994201660156], [0.2669506072998047, 36.28215408325195, 5.678282737731934, 43.794429779052734], [489.0831604003906, 23.682008743286133, 528.8335571289062, 32.722530364990234], [401.0738220214844, 23.157913208007812, 412.32110595703125, 33.82148742675781], [378.70416259765625, 22.071691513061523, 420.2750244140625, 33.869503021240234], [536.4329223632812, 23.241092681884766, 546.6116943359375, 33.95100402832031], [525.5950927734375, 21.393497467041016, 534.8746948242188, 33.76261520385742], [539.5552978515625, 16.178848266601562, 568.8953857421875, 34.20614242553711], [583.7063598632812, 26.870195388793945, 603.4033813476562, 34.10969161987305], [585.2420043945312, 27.155885696411133, 598.4056396484375, 33.9611701965332], [542.8676147460938, 16.212120056152344, 569.0834350585938, 33.8110466003418], [542.8676147460938, 16.212120056152344, 569.0834350585938, 33.8110466003418], [531.5512084960938, 18.56842803955078, 569.04052734375, 33.82920837402344], [542.4485473632812, 15.827122688293457, 598.1632690429688, 34.231239318847656], [507.1815185546875, 9.61510944366455, 570.3367919921875, 33.46634292602539], [474.8154296875, 6.031200885772705, 572.2814331054688, 33.07912063598633], [570.1296997070312, 27.087892532348633, 600.3795166015625, 33.981056213378906], [556.9065551757812, 27.980899810791016, 568.57568359375, 33.81419372558594], [75.12708282470703, 121.36734771728516, 116.81596374511719, 156.64682006835938], [55.30698776245117, 22.233932495117188, 68.44763946533203, 37.274078369140625], [97.03081512451172, 130.86129760742188, 117.76364135742188, 156.94406127929688], [303.3809509277344, 165.1072998046875, 312.6393737792969, 172.17173767089844], [154.4526824951172, 122.37461853027344, 174.47116088867188, 163.78829956054688], [57.2379150390625, 152.62599182128906, 102.29946899414062, 173.52041625976562], [3.3018360137939453, 150.40457153320312, 38.63814926147461, 172.5203094482422], [57.155303955078125, 152.9988555908203, 87.91175842285156, 173.32557678222656], [64.91835021972656, 135.13156127929688, 85.53469848632812, 153.85238647460938], [57.37481689453125, 152.62535095214844, 101.6075668334961, 173.33860778808594], [100.38810729980469, 152.91757202148438, 119.0905532836914, 168.50799560546875], [3.995237350463867, 135.07254028320312, 38.83803176879883, 154.15782165527344], [85.44366455078125, 156.39337158203125, 103.1622314453125, 172.9759063720703], [1.6192207336425781, 133.44195556640625, 39.62739562988281, 172.09791564941406], [59.18156051635742, 135.38754272460938, 86.11772155761719, 171.28651428222656], [64.82987213134766, 135.4317169189453, 97.76400756835938, 157.451171875], [65.74726867675781, 125.93417358398438, 100.70172882080078, 156.1581573486328], [153.7079620361328, 123.6197280883789, 175.61990356445312, 163.8985137939453], [80.65171813964844, 149.82205200195312, 97.91513061523438, 158.17860412597656], [195.5425262451172, 124.2804183959961, 212.7749481201172, 155.08444213867188], [75.31558990478516, 122.07091522216797, 101.8942642211914, 155.04481506347656], [0.15852975845336914, 127.18214416503906, 9.51118278503418, 171.86131286621094], [1.2652606964111328, 127.315673828125, 39.719757080078125, 153.9408416748047], [96.0339584350586, 132.0460968017578, 118.24811553955078, 158.2288818359375], [575.5387573242188, 173.59588623046875, 604.4942626953125, 197.8204345703125], [279.2477722167969, 80.35539245605469, 297.3070373535156, 109.48333740234375], [13.37531852722168, 118.70643615722656, 60.97172164916992, 153.6507110595703], [25.334667205810547, 118.14696502685547, 59.77709197998047, 150.8802947998047], [0.7877998352050781, 122.44306945800781, 57.55549621582031, 154.12442016601562], [25.344079971313477, 118.12852478027344, 55.271846771240234, 137.6947479248047], [56.031856536865234, 137.55987548828125, 67.42314147949219, 152.74148559570312], [75.03667449951172, 121.65198516845703, 99.5113296508789, 137.90065002441406], [272.8516845703125, 88.57711029052734, 296.7515563964844, 129.9718017578125], [428.25299072265625, 171.7301025390625, 621.9200439453125, 194.07188415527344], [467.5150146484375, 175.83612060546875, 625.7739868164062, 193.64454650878906], [543.4886474609375, 16.19952392578125, 568.9390258789062, 29.978548049926758], [57.33161163330078, 152.28382873535156, 102.84725189208984, 173.32022094726562], [567.9774169921875, 176.03790283203125, 621.5348510742188, 194.01480102539062], [3.2057266235351562, 150.32859802246094, 38.65480041503906, 172.41697692871094], [100.36488342285156, 152.9250946044922, 118.95122528076172, 168.4674835205078], [3.701953887939453, 134.95574951171875, 39.064964294433594, 153.99240112304688], [57.3607177734375, 153.0872802734375, 86.99315643310547, 173.26087951660156], [85.61756134033203, 156.4393768310547, 103.39086151123047, 172.76541137695312], [64.91835021972656, 135.13156127929688, 85.53469848632812, 153.85238647460938], [57.5815544128418, 152.27340698242188, 103.55062866210938, 173.41409301757812], [153.7079620361328, 123.6197280883789, 175.61990356445312, 163.8985137939453], [1.6192207336425781, 133.44195556640625, 39.62739562988281, 172.09791564941406], [74.8982162475586, 121.73531341552734, 100.66050720214844, 153.19483947753906], [80.65171813964844, 149.82205200195312, 97.91513061523438, 158.17860412597656], [64.82987213134766, 135.4317169189453, 97.76400756835938, 157.451171875], [195.5425262451172, 124.2804183959961, 212.7749481201172, 155.08444213867188], [96.0339584350586, 132.0460968017578, 118.24811553955078, 158.2288818359375], [263.8378601074219, 142.13685607910156, 274.08221435546875, 162.6181640625], [65.74726867675781, 125.93417358398438, 100.70172882080078, 156.1581573486328], [575.5387573242188, 173.59588623046875, 604.4942626953125, 197.8204345703125], [59.18156051635742, 135.38754272460938, 86.11772155761719, 171.28651428222656], [0.15852975845336914, 127.18214416503906, 9.51118278503418, 171.86131286621094], [1.2652606964111328, 127.315673828125, 39.719757080078125, 153.9408416748047], [588.5612182617188, 173.52505493164062, 604.80810546875, 197.98690795898438], [56.031856536865234, 137.55987548828125, 67.42314147949219, 152.74148559570312], [75.03667449951172, 121.65198516845703, 99.5113296508789, 137.90065002441406], [2.867422103881836, 150.33497619628906, 38.6275634765625, 172.4726104736328], [3.995237350463867, 135.07254028320312, 38.83803176879883, 154.15782165527344], [100.61165618896484, 152.99896240234375, 119.14982604980469, 168.56565856933594], [57.3607177734375, 153.0872802734375, 86.99315643310547, 173.26087951660156], [57.37481689453125, 152.62535095214844, 101.6075668334961, 173.33860778808594], [64.93060302734375, 135.47802734375, 85.6537094116211, 154.052978515625], [1.6192207336425781, 133.44195556640625, 39.62739562988281, 172.09791564941406], [85.61756134033203, 156.4393768310547, 103.39086151123047, 172.76541137695312], [75.01507568359375, 121.79051208496094, 102.1259765625, 154.90904235839844], [508.3108825683594, 273.7613525390625, 520.3276977539062, 282.66046142578125], [303.3809509277344, 165.1072998046875, 312.6393737792969, 172.17173767089844], [428.25299072265625, 171.7301025390625, 621.9200439453125, 194.07188415527344], [508.3108825683594, 273.7613525390625, 520.3276977539062, 282.66046142578125], [303.3809509277344, 165.1072998046875, 312.6393737792969, 172.17173767089844], [57.316429138183594, 153.08230590820312, 87.27027893066406, 173.30284118652344], [325.30987548828125, 168.3092041015625, 332.55853271484375, 172.6632080078125], [239.77330017089844, 96.85023498535156, 253.08148193359375, 118.15531921386719], [162.664306640625, 83.0866928100586, 626.038818359375, 344.3745422363281], [428.25299072265625, 171.7301025390625, 621.9200439453125, 194.07188415527344], [280.5286865234375, 166.3562774658203, 620.8729248046875, 196.15675354003906], [467.5150146484375, 175.83612060546875, 625.7739868164062, 193.64454650878906], [578.5392456054688, 174.22592163085938, 620.5628662109375, 196.18894958496094], [413.2127990722656, 89.3641586303711, 504.73431396484375, 285.7040710449219], [198.6156005859375, 82.13031005859375, 253.29318237304688, 154.3547821044922], [505.1615905761719, 144.55958557128906, 619.9993896484375, 271.35223388671875], [496.8830871582031, 150.49493408203125, 620.6256713867188, 243.82904052734375], [303.3809509277344, 165.1072998046875, 312.6393737792969, 172.17173767089844], [325.30987548828125, 168.3092041015625, 332.55853271484375, 172.6632080078125], [556.1092529296875, 174.62442016601562, 621.22021484375, 194.7135772705078], [568.2611694335938, 174.31715393066406, 620.9566040039062, 190.2695770263672], [162.91616821289062, 89.9115982055664, 313.25054931640625, 339.2209777832031], [309.51019287109375, 165.91964721679688, 332.6920471191406, 172.8731689453125], [397.8562316894531, 167.2297821044922, 621.8546752929688, 196.08470153808594], [462.35528564453125, 161.00872802734375, 469.1642150878906, 173.6923065185547], [214.46356201171875, 83.74333190917969, 253.50112915039062, 119.47327423095703], [206.93936157226562, 81.50543975830078, 253.0297393798828, 128.26141357421875], [508.2390441894531, 273.49432373046875, 520.796142578125, 283.7806396484375], [239.5054931640625, 96.62606811523438, 253.23989868164062, 117.77973175048828], [196.41265869140625, 82.59197998046875, 266.7341613769531, 167.2433624267578], [196.31582641601562, 157.23931884765625, 617.1111450195312, 281.3926086425781], [162.37554931640625, 87.99073791503906, 376.2151794433594, 344.1787109375], [603.3372802734375, 174.2715301513672, 620.865478515625, 182.57684326171875], [358.2396545410156, 166.86898803710938, 538.33984375, 193.40248107910156], [597.4798583984375, 174.28016662597656, 620.765625, 193.84425354003906], [302.42791748046875, 163.75335693359375, 332.7991027832031, 172.88201904296875], [214.77488708496094, 82.15776824951172, 238.85952758789062, 118.74676513671875], [162.3896942138672, 83.24432373046875, 479.7991943359375, 344.2940979003906], [423.9007263183594, 81.24815368652344, 603.3036499023438, 276.6430358886719], [341.1839599609375, 31.56324577331543, 620.8245239257812, 277.17059326171875], [195.0897674560547, 91.05286407470703, 273.1888427734375, 190.49461364746094], [215.72523498535156, 82.23905944824219, 231.90724182128906, 113.28080749511719], [176.26893615722656, 83.75300598144531, 289.9616394042969, 191.69102478027344], [191.8516387939453, 101.30970764160156, 294.5722961425781, 189.14883422851562], [161.67518615722656, 84.08781433105469, 479.53826904296875, 263.02728271484375], [583.7063598632812, 26.870195388793945, 603.4033813476562, 34.10969161987305], [328.28802490234375, 156.73843383789062, 522.84814453125, 248.9593963623047], [162.72613525390625, 87.22933959960938, 312.1281433105469, 267.5166015625], [428.25299072265625, 171.7301025390625, 621.9200439453125, 194.07188415527344], [428.25299072265625, 171.7301025390625, 621.9200439453125, 194.07188415527344], [508.3108825683594, 273.7613525390625, 520.3276977539062, 282.66046142578125], [508.3108825683594, 273.7613525390625, 520.3276977539062, 282.66046142578125], [75.27662658691406, 121.6022720336914, 116.64280700683594, 156.69175720214844], [97.03081512451172, 130.86129760742188, 117.76364135742188, 156.94406127929688], [75.07342529296875, 121.65553283691406, 102.75826263427734, 155.1343536376953], [153.3013916015625, 123.23374938964844, 177.13055419921875, 164.558349609375], [75.03667449951172, 121.65198516845703, 99.5113296508789, 137.90065002441406], [3.8897933959960938, 134.78652954101562, 41.27455139160156, 154.36416625976562], [65.74726867675781, 125.93417358398438, 100.70172882080078, 156.1581573486328], [65.15660858154297, 135.39845275878906, 85.76416015625, 154.011962890625], [99.59290313720703, 151.08938598632812, 118.30513000488281, 168.4336395263672], [26.025135040283203, 117.55677795410156, 60.54419708251953, 153.05181884765625], [3.014322280883789, 150.19363403320312, 38.83381652832031, 172.21328735351562], [0.7877998352050781, 122.44306945800781, 57.55549621582031, 154.12442016601562], [195.82814025878906, 124.68016052246094, 212.9248046875, 157.302734375], [152.92080688476562, 122.9360122680664, 191.67984008789062, 165.82211303710938], [1.2652606964111328, 127.315673828125, 39.719757080078125, 153.9408416748047], [158.6168212890625, 83.91439056396484, 198.076171875, 165.9413299560547], [578.5392456054688, 174.22592163085938, 620.5628662109375, 196.18894958496094], [13.37531852722168, 118.70643615722656, 60.97172164916992, 153.6507110595703], [164.07598876953125, 124.59485626220703, 191.23179626464844, 165.71856689453125], [239.5054931640625, 96.62606811523438, 253.23989868164062, 117.77973175048828], [263.7712097167969, 142.0758056640625, 274.40960693359375, 162.3542938232422], [1.6192207336425781, 133.44195556640625, 39.62739562988281, 172.09791564941406], [11.675285339355469, 114.3095932006836, 134.0594024658203, 163.92750549316406], [217.50582885742188, 83.51508331298828, 252.95803833007812, 118.43180847167969], [56.73722839355469, 151.35101318359375, 105.21092224121094, 173.88116455078125], [57.121646881103516, 153.02540588378906, 86.1454086303711, 173.2971954345703], [80.65171813964844, 149.82205200195312, 97.91513061523438, 158.17860412597656], [-0.14708852767944336, 126.65233612060547, 8.333593368530273, 170.780517578125], [55.30698776245117, 22.233932495117188, 68.44763946533203, 37.274078369140625], [153.3013916015625, 123.23374938964844, 177.13055419921875, 164.558349609375], [505.8875732421875, 140.91958618164062, 523.167236328125, 151.8753204345703]], 
'scores': [0.9504230618476868, 0.896433413028717, 0.8425963521003723, 0.8379513621330261, 0.7733482718467712, 
0.7671267986297607, 0.7564674615859985, 0.7141281962394714, 0.6813817620277405, 0.657216489315033, 
0.574505627155304, 0.4586893320083618, 0.4316045939922333, 0.3914433717727661, 0.382770836353302, 
0.3580609858036041, 0.28445056080818176, 0.2698679566383362, 0.24611839652061462, 0.21509209275245667, 
0.204181507229805, 0.19484460353851318, 0.19334666430950165, 0.18015803396701813, 0.16743536293506622, 
0.15897995233535767, 0.15554530918598175, 0.14924687147140503, 0.14597395062446594, 0.1453094631433487, 
0.14321254193782806, 0.1430281549692154, 0.14108918607234955, 0.13885091245174408, 0.13692179322242737, 
0.13145697116851807, 0.13011828064918518, 0.12933190166950226, 0.12562662363052368, 0.12274627387523651, 
0.12187842279672623, 0.11965461820363998, 0.11348088085651398, 0.11247064173221588, 0.10909152030944824, 
0.10901464521884918, 0.10768859088420868, 0.10430868715047836, 0.10229603946208954, 0.10180152207612991, 
0.10088793933391571, 0.09864998608827591, 0.09163130819797516, 0.09111356735229492, 0.0908743366599083, 
0.08917637169361115, 0.08785522729158401, 0.08557935804128647, 0.08504784107208252, 0.08497358858585358, 
0.08347504585981369, 0.08222542703151703, 0.08163080364465714, 0.08075252920389175, 0.08032017946243286, 
0.0793798416852951, 0.07917174696922302, 0.07908519357442856, 0.07893947511911392, 0.07844094932079315, 
0.07599174976348877, 0.07445529103279114, 0.07366783171892166, 0.07330697774887085, 0.07236965745687485, 
0.07230524718761444, 0.07205937057733536, 0.07166958600282669, 0.07121387124061584, 0.07085146009922028, 
0.06871296465396881, 0.06863636523485184, 0.06824524700641632, 0.06811398267745972, 0.06802220642566681, 
0.06793830543756485, 0.06782685220241547, 0.06740063428878784, 0.06664621829986572, 0.06660506129264832, 
0.06387868523597717, 0.06337273865938187, 0.0628015324473381, 0.06258857250213623, 0.06239909678697586, 
0.05987631157040596, 0.05969928950071335, 0.059461746364831924, 0.05939899757504463, 0.059371959418058395, 
0.05788147822022438, 0.057543762028217316, 0.08629918843507767, 0.07789531350135803, 0.06289315223693848, 
0.2688209116458893, 0.20444510877132416, 0.15873807668685913, 0.1545199155807495, 0.14963024854660034, 0.14170537889003754, 0.1412048488855362, 0.12670932710170746, 0.11597608774900436, 0.11518345028162003, 0.1003512516617775, 0.09286744147539139, 0.08626268059015274, 0.08561965823173523, 0.08482491970062256, 0.08235416561365128, 0.08029723167419434, 0.07917913049459457, 0.07278425991535187, 0.07108897715806961, 0.07005442678928375, 0.06783794611692429, 0.06596836447715759, 0.06325803697109222, 0.06277843564748764, 0.060479309409856796, 0.06027490273118019, 0.059480175375938416, 0.05928025767207146, 0.07808676362037659, 0.07540538907051086, 0.07430747896432877, 0.07193569839000702, 0.06483762711286545, 0.10275454819202423, 0.29064205288887024, 0.08417706191539764, 0.07489804178476334, 0.0697244182229042, 0.06454786658287048, 0.06124381721019745, 0.06107869744300842, 0.0895213708281517, 0.08465585112571716, 0.06466830521821976, 0.06062478572130203, 0.09730815142393112, 0.05790483206510544, 0.4211689829826355, 0.39655646681785583, 0.3541761040687561, 0.3321775197982788, 0.3305021822452545, 0.25672513246536255, 0.24709761142730713, 0.1546103060245514, 0.14012297987937927, 0.12830907106399536, 0.0965692549943924, 0.09451515972614288, 0.08201250433921814, 0.0799773633480072, 0.079134501516819, 0.07461892068386078, 0.07261565327644348, 0.07206861674785614, 0.0672830268740654, 0.06664462387561798, 0.06459251046180725, 0.06458000838756561, 0.05990254133939743, 0.059083424508571625, 0.05861629545688629, 0.05852464959025383, 0.057474855333566666, 0.0715019628405571, 0.06949001550674438, 0.06698913872241974, 0.06279070675373077, 0.06110743060708046, 0.3939814865589142, 0.2858927845954895, 0.24853378534317017, 0.21157626807689667, 0.20773963630199432, 0.19155652821063995, 0.1637057662010193, 0.16218167543411255, 0.1387106031179428, 0.089652881026268, 0.08688339591026306, 0.08130300045013428, 0.07992308586835861, 0.07908309251070023, 0.07849936932325363, 0.0772915706038475, 0.0732429251074791, 0.07175003737211227, 0.06962233036756516, 0.06445857882499695, 0.06383044272661209, 0.06075025349855423, 0.06071286275982857, 0.3357076644897461, 0.21045157313346863, 0.1394304484128952, 0.12997393310070038, 0.12853772938251495, 0.1110009104013443, 0.10603033751249313, 0.09767460823059082, 0.0619550459086895, 0.070225290954113, 0.059668079018592834, 0.05747557058930397, 0.11265211552381516, 0.09124837070703506, 0.05876699462532997, 0.05798572301864624, 0.05725397542119026, 0.963882327079773, 0.2040756642818451, 0.19884897768497467, 0.17713536322116852, 0.14737965166568756, 0.13058440387248993, 0.12522003054618835, 0.12342987209558487, 0.11750625818967819, 0.11224118620157242, 0.10828551650047302, 0.1052493080496788, 0.09532453864812851, 0.08916952461004257, 0.08652466535568237, 0.08642707020044327, 0.08582153916358948, 0.08443481475114822, 0.08296214044094086, 0.08231735974550247, 0.08138302713632584, 0.07960137724876404, 0.07844948023557663, 0.07660599797964096, 0.07411625981330872, 0.07400055229663849, 0.0722406879067421, 0.07118921726942062, 0.06956096738576889, 0.0654514878988266, 0.0645882785320282, 0.0634094774723053, 0.06231240555644035, 0.06196978688240051, 0.06159641593694687, 0.060153793543577194, 0.05948561429977417, 0.05931799113750458, 0.05857465788722038, 0.05809867009520531, 0.06530751287937164, 0.07071242481470108, 0.19873422384262085, 0.073960080742836, 0.6765272617340088, 0.46706095337867737, 0.4648328423500061, 0.15904517471790314, 0.15531767904758453, 0.15004900097846985, 0.14588068425655365, 0.14012248814105988, 0.120736263692379, 0.10348795354366302, 0.0919198989868164, 0.088162362575531, 0.08746687322854996, 0.08712983876466751, 0.08515707403421402, 0.08508922159671783, 0.07716631144285202, 0.07103769481182098, 0.06988956779241562, 0.06846390664577484, 0.06566493213176727, 0.06443235278129578, 0.06195981800556183, 0.05932055413722992, 0.05901051312685013, 0.058313701301813126, 0.05752068758010864, 0.05748004838824272, 0.06946082413196564, 0.06669697165489197, 0.08491163700819016],
'label_ids': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 5, 7, 7, 7, 7, 7, 7, 7, 13, 13, 13, 
14, 16, 16, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 
25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 
29, 30, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 
33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 36, 37, 41, 45, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 
56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 58, 60, 67], 'masks': [], 'contain_masks': False}

附上ppdet使用相同模型参数的推理结果:

-----------  Running Arguments -----------
action_file: None
batch_size: 1
camera_id: -1
collect_trt_shape_info: False
combine_method: nms
cpu_threads: 1
device: gpu
enable_mkldnn: False
enable_mkldnn_bfloat16: False
image_dir: None
image_file: /home/FastDeploy/examples/vision/detection/paddledetection/serving/000000014439.jpg
match_metric: ios
match_threshold: 0.6
model_dir: /home/FastDeploy/examples/vision/detection/paddledetection/serving/ppyoloe_crn_l_300e_coco
output_dir: output
overlap_ratio: [0.25, 0.25]
random_pad: False
reid_batch_size: 50
reid_model_dir: None
run_benchmark: False
run_mode: paddle
save_images: True
save_mot_txt_per_img: False
save_mot_txts: False
save_results: False
scaled: False
slice_infer: False
slice_size: [640, 640]
threshold: 0.5
tracker_config: None
trt_calib_mode: False
trt_max_shape: 1280
trt_min_shape: 1
trt_opt_shape: 640
tuned_trt_shape_file: shape_range_info.pbtxt
use_coco_category: False
use_dark: True
use_fd_format: False
use_gpu: False
video_file: None
window_size: 50
------------------------------------------
-----------  Model Configuration -----------
Model Arch: YOLO
Transform Order: 
--transform op: Resize
--transform op: NormalizeImage
--transform op: Permute
--------------------------------------------
class_id:0, confidence:0.9504, left_top:[415.05,89.31],right_bottom:[506.01,283.86]
class_id:0, confidence:0.8964, left_top:[163.67,81.91],right_bottom:[198.59,166.76]
class_id:0, confidence:0.8426, left_top:[581.79,113.03],right_bottom:[612.62,198.52]
class_id:0, confidence:0.8380, left_top:[267.22,89.78],right_bottom:[298.80,169.36]
class_id:0, confidence:0.7733, left_top:[104.47,45.48],right_bottom:[127.69,93.53]
class_id:0, confidence:0.7671, left_top:[348.90,44.06],right_bottom:[367.54,98.40]
class_id:0, confidence:0.7565, left_top:[363.89,58.39],right_bottom:[381.40,114.65]
class_id:0, confidence:0.7141, left_top:[504.84,114.53],right_bottom:[612.28,271.29]
class_id:0, confidence:0.6814, left_top:[328.23,38.97],right_bottom:[347.21,80.57]
class_id:0, confidence:0.6572, left_top:[379.18,40.79],right_bottom:[394.88,83.98]
class_id:0, confidence:0.5745, left_top:[25.86,117.87],right_bottom:[61.26,153.16]
class_id:33, confidence:0.9639, left_top:[162.66,83.09],right_bottom:[626.04,344.37]
class_id:56, confidence:0.6765, left_top:[75.28,121.60],right_bottom:[116.64,156.69]
save result to: output/000000014439.jpg
Test iter 0
------------------ Inference Time Info ----------------------
total_time(ms): 1451.3, img_num: 1
average latency time(ms): 1451.30, QPS: 0.689037
preprocess_time(ms): 44.30, inference_time(ms): 1407.00, postprocess_time(ms): 0.00
@hxuaj
Copy link
Author

hxuaj commented Mar 7, 2024

查了一下ppyoloe_crn_l_300e_coco的默认配置,在ppyoloe_crn.yml中找到了关于PPYOLOEHead的配置如下:

PPYOLOEHead:
  fpn_strides: [32, 16, 8]
  grid_cell_scale: 5.0
  grid_cell_offset: 0.5
  static_assigner_epoch: 100
  use_varifocal_loss: True
  loss_weight: {class: 1.0, iou: 2.5, dfl: 0.5}
  static_assigner:
    name: ATSSAssigner
    topk: 9
  assigner:
    name: TaskAlignedAssigner
    topk: 13
    alpha: 1.0
    beta: 6.0
  nms:
    name: MultiClassNMS
    nms_top_k: 1000
    keep_top_k: 300
    score_threshold: 0.01
    nms_threshold: 0.7

果然是因为score_threshold设置太低(应该是为了eval)导致以上的情况。尝试了修改score_threshold为0.5再导出模型,以上问题解决。建议在模型导出文档中说明一下。另外没有找到关于模型配置文档(如ppyoloe_crn.yml)的详细参数说明,可否提供一下?

@jiangjiajun
Copy link
Collaborator

此参数是在PaddleDetection中导出的,可以在PaddleDetection仓库中提个建议反馈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants