l\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h | 2 +
.../dnn/dnn_backend_native_layer_avgpool.c|
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 202 +
tests/fate/dnn.mak | 5 +
4 fil
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 202 +
tests/fate/dnn.mak | 5 +
4 fil
/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h
/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 202 +
tests/fate/dnn.mak | 5 +
4 fil
/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 202 +
tests/fate/dnn.mak | 5 +
4 fil
/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
V5:
Fix the issue V4 make fate failed.
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 202 +
tests/fa
/python/convert.py to generate image_process.model\n")
output = sess.run(y, feed_dict={x: in_data})
imageio.imsave("out.jpg", np.squeeze(output))
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
V6:
Fix the issue of make fate failed in V4&V5
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 198 +++
Not support pooling strides in channel dimension yet.
Signed-off-by: Ting Fu
---
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_native.h | 2 +
.../dnn/dnn_backend_native_layer_avgpool.c| 141 ++
.../dnn
'make fate-dnn-layer-avgpool' to run the test
Signed-off-by: Ting Fu
---
tests/dnn/.gitignore | 1 +
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-avgpool-test.c | 197 +
tests/fate/dnn.mak | 5 +
4 fil
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_native.c | 74 +++
libavfilter/dnn/dnn_backend_native.h | 5 ++
.../dnn/dnn_backend_native_layer_avgpool.c| 2 +-
.../dnn/dnn_backend_native_layer_avgpool.h| 2 +-
.../dnn
Signed-off-by: Ting Fu
---
V2:
Fix the issue in V1: make fate failed
libavfilter/dnn/dnn_backend_native.c | 74 +++
libavfilter/dnn/dnn_backend_native.h | 5 ++
.../dnn/dnn_backend_native_layer_avgpool.c| 2 +-
.../dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_native.c | 112 +--
libavfilter/dnn/dnn_backend_native.h | 4 +-
libavfilter/dnn/dnn_backend_tf.c | 24 +++---
3 files changed, 70 insertions(+), 70 deletions(-)
diff --git a/libavfilter/dnn
Unify all error return as DNN_ERROR, in order to cease model executing
when return error in ff_dnn_execute_model_native layer_func.pf_exec
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_native_layer_avgpool.c | 2 +-
libavfilter/dnn/dnn_backend_native_layer_conv2d.c | 4
Signed-off-by: Ting Fu
---
V3:
1. modify log_ctx of NativeModel to non-pointer
2. modify log_ctx of NativeModel to ctx
3. delete empty line
libavfilter/dnn/dnn_backend_native.c | 67 ++-
libavfilter/dnn/dnn_backend_native.h | 5 ++
.../dnn
Unify all error return as DNN_ERROR, in order to cease model executing
when return error in ff_dnn_execute_model_native layer_func.pf_exec
Signed-off-by: Ting Fu
---
V4:
Rename NetworkContext to NativeContext
Move pf_exec return DNN_ERROR from PATCH 2/2 to 1/2
libavfilter/dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_native.c | 59 +++
libavfilter/dnn/dnn_backend_native.h | 5 ++
.../dnn/dnn_backend_native_layer_avgpool.c| 10 +++-
.../dnn/dnn_backend_native_layer_avgpool.h| 2 +-
.../dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_native.c | 55 +++
libavfilter/dnn/dnn_backend_native.h | 5 ++
.../dnn/dnn_backend_native_layer_avgpool.c| 10 +++-
.../dnn/dnn_backend_native_layer_avgpool.h| 2 +-
.../dnn
Unify all error return as DNN_ERROR, in order to cease model executing
when return error in ff_dnn_execute_model_native layer_func.pf_exec
Signed-off-by: Ting Fu
---
V5:
rebase to latest code
libavfilter/dnn/dnn_backend_native.c | 10 ++
libavfilter/dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_tf.c | 59 ++--
1 file changed, 57 insertions(+), 2 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index bdc90d5063..5e7f37bb12 100644
--- a/libavfilter/dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 51 ++
1 file changed, 43 insertions(+), 8 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index 034dee1839..5d6d3ed542 100644
--- a/libavfilter
This issue would cause segmetaion fault when running srcnn model with
sr filter by TensorFlow backend. This filter would free the frame incorectly.
Signed-off-by: Ting Fu
---
libavfilter/vf_sr.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_sr.c b
Refine the error report of OpenVINO backend incorrect input or output node
name, help the users to locate issue.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 54 ++
1 file changed, 47 insertions(+), 7 deletions(-)
diff --git a/libavfilter/dnn
Dump all input/output names to OVModel struct. In case other funcs use
them for reporting errors or locating issues.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 66 +++---
1 file changed, 48 insertions(+), 18 deletions(-)
diff --git a/libavfilter/dnn
DNN OpenVINO backend would not report missing model file if it does not
exist. It would corrupt directly with out any error infomation. This commit
would check both .xml and .bin file existance before loading model.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 20
Change the DCO_RGB and DCO_BGR color order in DNNColorOrder to
DCO_RGB_PACKED and DCO_GBR_PACKED for following RGB planar support.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 2 +-
libavfilter/dnn/dnn_backend_tf.c | 2 +-
libavfilter/dnn/dnn_io_proc.c | 4
, torch.jit.trace() is not recommanded, since it does not support
ambiguous input size.
Signed-off-by: Ting Fu
---
configure | 7 +-
libavfilter/dnn/Makefile | 1 +
libavfilter/dnn/dnn_backend_torch.cpp | 567 ++
libavfilter/dnn
Native is deprecated value for backed_type option. Modify related error
message.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_interface.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c
index
Deleted the native backend related files in 'tools' dir. Modify its'
docs and codes mentioned in such docs.
Signed-off-by: Ting Fu
---
doc/filters.texi| 43 +-
libavfilter/vf_derain.c | 2 +-
libavfilter/vf_dnn_processing.
Native is deprecated value for backed_type option. Modify related error
message.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_interface.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c
index
Deleted the native backend related files in 'tools' dir. Modify its'
docs and codes mentioned in such docs.
Signed-off-by: Ting Fu
---
doc/filters.texi| 39 +-
libavfilter/vf_derain.c | 2 +-
libavfilter/vf_dnn_processing.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_tf.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 3b5084b67b..fb1a5f1350 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_tf.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index fb1a5f1350..5d809a8694 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_backend_tf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index 5d809a8694..bafd802abf 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
Native backend will be removed in following commits, so change the
dnn interface and modify the error message in it first.
Signed-off-by: Ting Fu
---
libavfilter/dnn/dnn_interface.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/libavfilter/dnn/dnn_interface.c b
Will remove native backend, so change the default backend in filters,
and also remove the python scripts which generate native model file.
Signed-off-by: Ting Fu
---
doc/filters.texi| 39 +-
libavfilter/vf_derain.c | 2 +-
libavfilter
101 - 140 of 140 matches
Mail list logo