ohsewon / test

0 stars 0 forks source link

[Filter/TF-Lite] the latency of tensorflow lite model (Not Urgent) #329

Open ohsewon opened 5 years ago

ohsewon commented 5 years ago

Issue by hello-ahn Tuesday Jul 24, 2018 at 11:19 GMT Originally opened as https://github.sec.samsung.net/STAR/nnstreamer/issues/329


It was successful to extract labels from video stream data. Since the processing term takes almost 0.3sec for each tensor, however, we need to decide the policy about it. I attached the part of log data.

...

** Message: Invoke() is finished: 312.764000
** Message: Invoke() is finished: 311.526000
** Message: Invoke() is finished: 311.302000
** Message: Invoke() is finished: 311.696000
** Message: Invoke() is finished: 313.468000

...

You can check this log with #328

ohsewon commented 5 years ago

Comment by git-bot-sec Tuesday Jul 24, 2018 at 11:19 GMT


:octocat: cibot: Thank you for posting issue #329. The person in charge will reply soon.

ohsewon commented 5 years ago

Comment by jy1210-jung Thursday Jul 26, 2018 at 04:54 GMT


static void gst_tensor_filter_init (GstTensor_Filter * filter) { ...

/* enable QoS / gst_base_transform_set_qos_enabled (GST_BASE_TRANSFORM (filter), TRUE); }

This will simply drop buffer. gstbasetransform will send message 'GST_MESSAGE_QOS', and application can receive and parse this message with below code. gst_message_parse_qos_stats (message, &format, &processed, &dropped);

ohsewon commented 5 years ago

Comment by jy1210-jung Thursday Jul 26, 2018 at 04:59 GMT


I am not sure just skip the late buffer can resolve qos event.