1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavfilter
Guo, Yejun e2b92896c4 libavfilter/dnn: determine dnn output during execute_model instead of set_input_output
Currently, within interface set_input_output, the dims/memory of the tensorflow
dnn model output is determined by executing the model with zero input,
actually, the output dims might vary with different input data for networks
such as object detection models faster-rcnn, ssd and yolo.

This patch moves the logic from set_input_output to execute_model which
is suitable for all the cases. Since interface changed, and so dnn_backend_native
also changes.

In vf_sr.c, it knows it's srcnn or espcn by executing the model with zero input,
so execute_model has to be called in function config_props

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-05-08 12:33:00 -03:00
..
2019-04-20 16:32:34 +01:00
2017-05-12 10:48:13 +02:00
2018-11-18 21:21:18 +01:00
2016-12-01 09:53:38 +01:00
2017-11-26 14:05:25 +01:00
2018-10-19 17:43:29 +02:00
2018-03-31 23:26:30 +01:00
2018-11-15 14:44:24 +01:00
2018-06-21 00:31:42 +01:00
2018-06-21 00:31:42 +01:00
2018-05-05 21:50:22 +02:00
2018-11-02 12:32:34 +01:00
2017-06-26 19:43:41 +02:00
2017-04-23 14:40:30 +07:00
2017-01-12 10:22:52 +01:00
2016-01-28 19:49:48 -08:00
2017-07-08 11:49:54 +02:00
2014-08-13 01:00:38 +02:00
2019-04-27 00:21:38 +02:00
2016-01-31 15:44:11 -08:00
2016-01-28 19:49:48 -08:00
2016-01-31 15:44:11 -08:00
2015-01-05 01:45:49 +01:00
2019-04-27 00:21:38 +02:00
2018-06-21 00:31:42 +01:00
2018-10-21 12:57:58 +02:00
2016-02-27 21:35:20 +01:00
2017-08-05 21:05:22 +02:00
2019-04-20 00:20:07 +02:00
2018-08-16 00:07:59 +02:00
2019-04-20 14:20:07 +02:00
2017-04-24 20:37:30 +02:00
2019-01-12 19:49:15 +01:00
2015-01-09 17:26:31 +01:00
2018-09-13 12:09:51 +02:00
2018-11-02 09:32:52 +01:00
2018-04-13 08:41:51 +02:00
2018-08-09 10:35:00 +05:30
2017-12-23 10:48:14 +01:00