* [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing
@ 2024-03-25 2:15 wenbin.chen-at-intel.com
2024-03-25 11:16 ` Guo, Yejun
0 siblings, 1 reply; 4+ messages in thread
From: wenbin.chen-at-intel.com @ 2024-03-25 2:15 UTC (permalink / raw)
To: ffmpeg-devel
From: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
---
doc/filters.texi | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 18f0d1c5a7..bfa8ccec8b 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -12073,11 +12073,21 @@ need to build and install the OpenVINO for C library (see
@code{--enable-libopenvino} (--extra-cflags=-I... --extra-ldflags=-L... might
be needed if the header files and libraries are not installed into system path)
+@item torch
+Libtorch backend. To enable this backend you need to build and install Libtroch
+for C++ library. Please download cxx11 ABI version (see
+@url{https://pytorch.org/get-started/locally})
+and configure FFmpeg with @code{--enable-libtorch
+--extra-cflags=-I/libtorch_root/libtorch/include
+--extra-cflags=-I/libtorch_root/libtorch/include/torch/csrc/api/include
+--extra-ldflags=-L/libtorch_root/libtorch/lib/}
+
@end table
@item model
Set path to model file specifying network architecture and its parameters.
-Note that different backends use different file formats. TensorFlow, OpenVINO backend can load files for only its format.
+Note that different backends use different file formats. TensorFlow, OpenVINO
+and Libtorch backend can load files for only its format.
@item input
Set the input name of the dnn network.
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing
2024-03-25 2:15 [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing wenbin.chen-at-intel.com
@ 2024-03-25 11:16 ` Guo, Yejun
2024-03-26 16:03 ` Leo Izen
0 siblings, 1 reply; 4+ messages in thread
From: Guo, Yejun @ 2024-03-25 11:16 UTC (permalink / raw)
To: FFmpeg development discussions and patches
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> wenbin.chen-at-intel.com@ffmpeg.org
> Sent: Monday, March 25, 2024 10:15 AM
> To: ffmpeg-devel@ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to
> dnn_processing
>
> From: Wenbin Chen <wenbin.chen@intel.com>
>
> Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
> ---
> doc/filters.texi | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 18f0d1c5a7..bfa8ccec8b 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -12073,11 +12073,21 @@ need to build and install the OpenVINO for C
> library (see
> @code{--enable-libopenvino} (--extra-cflags=-I... --extra-ldflags=-L... might
> be needed if the header files and libraries are not installed into system path)
>
> +@item torch
> +Libtorch backend. To enable this backend you need to build and install
> Libtroch
> +for C++ library. Please download cxx11 ABI version (see
> +@url{https://pytorch.org/get-started/locally})
> +and configure FFmpeg with @code{--enable-libtorch
> +--extra-cflags=-I/libtorch_root/libtorch/include
> +--extra-cflags=-I/libtorch_root/libtorch/include/torch/csrc/api/include
> +--extra-ldflags=-L/libtorch_root/libtorch/lib/}
> +
> @end table
>
> @item model
> Set path to model file specifying network architecture and its parameters.
> -Note that different backends use different file formats. TensorFlow,
> OpenVINO backend can load files for only its format.
> +Note that different backends use different file formats. TensorFlow,
> OpenVINO
> +and Libtorch backend can load files for only its format.
>
LGTM, will push soon, thanks.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing
2024-03-25 11:16 ` Guo, Yejun
@ 2024-03-26 16:03 ` Leo Izen
2024-03-27 7:43 ` Chen, Wenbin
0 siblings, 1 reply; 4+ messages in thread
From: Leo Izen @ 2024-03-26 16:03 UTC (permalink / raw)
To: ffmpeg-devel
On 3/25/24 07:16, Guo, Yejun wrote:
>
>
>> -----Original Message-----
>> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
>> wenbin.chen-at-intel.com@ffmpeg.org
>> Sent: Monday, March 25, 2024 10:15 AM
>> To: ffmpeg-devel@ffmpeg.org
>> Subject: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to
>> dnn_processing
Typo in commit message, you want libtorch, not libtoch.
- Leo Izen (Traneptora)
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing
2024-03-26 16:03 ` Leo Izen
@ 2024-03-27 7:43 ` Chen, Wenbin
0 siblings, 0 replies; 4+ messages in thread
From: Chen, Wenbin @ 2024-03-27 7:43 UTC (permalink / raw)
To: FFmpeg development discussions and patches
> >> -----Original Message-----
> >> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of
> >> wenbin.chen-at-intel.com@ffmpeg.org
> >> Sent: Monday, March 25, 2024 10:15 AM
> >> To: ffmpeg-devel@ffmpeg.org
> >> Subject: [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to
> >> dnn_processing
>
> Typo in commit message, you want libtorch, not libtoch.
>
> - Leo Izen (Traneptora)
Thanks for your comment. I didn't notice that.
It is merged, so I cannot fix it.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-27 7:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25 2:15 [FFmpeg-devel] [PATCH v2] doc: Add libtoch backend option to dnn_processing wenbin.chen-at-intel.com
2024-03-25 11:16 ` Guo, Yejun
2024-03-26 16:03 ` Leo Izen
2024-03-27 7:43 ` Chen, Wenbin
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git