[FFmpeg-devel] [PATCH V4 2/3] lavfi/dnn: Delete DNN native backend releated tools and docs.

Guo, Yejun yejun.guo at intel.com
Mon Jan 16 04:12:46 EET 2023



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Ting
> Fu
> Sent: Friday, January 6, 2023 5:19 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH V4 2/3] lavfi/dnn: Delete DNN native
> backend releated tools and docs.
> 
> Signed-off-by: Ting Fu <ting.fu at intel.com>
> ---
>  doc/filters.texi                        |  43 +-
>  tools/python/convert.py                 |  56 ---
>  tools/python/convert_from_tensorflow.py | 607 ------------------------
>  tools/python/convert_header.py          |  26 -
>  4 files changed, 4 insertions(+), 728 deletions(-)  delete mode 100644
> tools/python/convert.py  delete mode 100644
> tools/python/convert_from_tensorflow.py
>  delete mode 100644 tools/python/convert_header.py
> 
> diff --git a/doc/filters.texi b/doc/filters.texi index 9c32339141..797d1c9fe2
> 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -11222,9 +11222,6 @@ See
> @url{http://openaccess.thecvf.com/content_ECCV_2018/papers/Xia_Li_Recu
> rrent_
>  Training as well as model generation scripts are provided in  the repository at
> @url{https://github.com/XueweiMeng/derain_filter.git}.
> 
> -Native model files (.model) can be generated from TensorFlow model -files
> (.pb) by using tools/python/convert.py
> -
>  The filter accepts the following options:
> 
>  @table @option
> @@ -11245,21 +11242,16 @@ Specify which DNN backend to use for model
> loading and execution. This option ac  the following values:
> 
>  @table @samp
> - at item native
> -Native implementation of DNN loading and execution.
> -
>  @item tensorflow
>  TensorFlow backend. To enable this backend you  need to install the
> TensorFlow for C library (see
>  @url{https://www.tensorflow.org/install/lang_c}) and configure FFmpeg with
> @code{--enable-libtensorflow}  @end table -Default value is @samp{native}.
> 
>  @item model
>  Set path to model file specifying network architecture and its parameters.
> -Note that different backends use different file formats. TensorFlow and
> native -backend can load files for only its format.
> +Note that different backends use different file formats. TensorFlow can load
> files for only its format.
>  @end table
> 
>  To get full functionality (such as async execution), please use the
> @ref{dnn_processing} filter.
> @@ -11583,9 +11575,6 @@ Specify which DNN backend to use for model
> loading and execution. This option ac  the following values:
> 
>  @table @samp
> - at item native
> -Native implementation of DNN loading and execution.
> -
>  @item tensorflow
>  TensorFlow backend. To enable this backend you  need to install the
> TensorFlow for C library (see @@ -11601,14 +11590,9 @@ be needed if the
> header files and libraries are not installed into system path)
> 
>  @end table
> 
> -Default value is @samp{native}.

Which will be the default value in all these filters, and looks we need to 
also update the code in the filters.


More information about the ffmpeg-devel mailing list