Open luan007 opened 2 years ago
ok~ we'll follow the issue.
Thanks!
试一下 最新版本 看一下 https://github.com/PaddlePaddle/Paddle.js/pull/396 https://github.com/PaddlePaddle/Paddle.js/pull/398
@paddlejs/paddlejs-backend-webgl@1.1.19 @paddlejs/paddlejs-core@2.1.17
@luan007 你转换的这个avg RT=120ms... 我转换的压根没法跑起来,转换后的模型如附件model.zip
模型转换使用的是paddlejsconverter https://bj.bcebos.com/v1/paddledet/models/keypoint/tinypose_enhance/tinypose_128x96.zip 但是运行后返回值如下:[ { "conv2d_441.tmp_1": [ ..., 11.171875 ] }, { "argmax_0.tmp_0": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } ]
@JingyuanZhang 帮忙分析下呗。
Hi again,
I've successfully converted pp tiny_pose (256 & 128 versions) to paddle.js env, & all works out smoothly.
However, after a while (10~20s) the
predict
function becomes slower & slower, from (initially)50ms
to200ms
& so on.To reproduce the effect please check out: (replace
mobilenet
example folder with this & do webpack.)(
http-server -o
and go to127.0.0.1:8080
, as this requests your camera & needs to run on localhost to avoid https policy)tiny_pose.zip
The program is running in
chrome
, with a2019 macbook pro
withdGPU
,paddle.js webgl backend
.Although in the end, this issue may closely tied to the converted model, I still think it would be helpful for the community to provide some insights on how to deal with this during model adaptation process.
Thanks!