From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id E2DE04983C for ; Thu, 21 Mar 2024 06:50:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A64A368D52C; Thu, 21 Mar 2024 08:50:52 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CDCC168D4C4 for ; Thu, 21 Mar 2024 08:50:45 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711003851; x=1742539851; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=vASBAjViiXCkZ6ht4dZQWtwwA6XmoZ4uus643KV1+FA=; b=dHK2MakmIerZlhjE+32U5fH++6jvk+Seqljk2s0zjVQ2LmycIntfQZr/ dxqPq3lRCYO9FShyU/mU8mtoa7Ef37H2o/UmMrv2s2AciRdoyy78Bov3m 2PsG5fm7ix1aPb/kP+tm8PQ8gWJkNU6dNrH8Upe682Yq6t6gYd0NB3Mn2 CDOre3TzeAItgg7d0qvfoVod0X7jjKq+K479eCJ2BL3zgxZjKGY72SYev Hi1vDzDOO8NPwpvVGrSYIvK/56KcumVaBf6S0QLwGFELI7xkrd3OV9kQG JIzxTOipsRvkBoj3BUBs68xXC4OJYFPgHQ4AzNzWzXgc4OlXGISmRlieA g==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="5804739" X-IronPort-AV: E=Sophos;i="6.07,142,1708416000"; d="scan'208";a="5804739" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 23:50:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,142,1708416000"; d="scan'208";a="14301800" Received: from wenbin-z390-aorus-ultra.sh.intel.com ([10.239.156.43]) by orviesa010.jf.intel.com with ESMTP; 20 Mar 2024 23:50:42 -0700 From: wenbin.chen-at-intel.com@ffmpeg.org To: ffmpeg-devel@ffmpeg.org Date: Thu, 21 Mar 2024 14:50:40 +0800 Message-Id: <20240321065040.4146676-1-wenbin.chen@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] doc: Add libtoch backend option to dnn_processing X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Wenbin Chen Signed-off-by: Wenbin Chen --- doc/filters.texi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 913365671d..20605e72b2 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -12069,11 +12069,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-cflag=-I/libtorch_root/libtorch/include +--extra-cflag=-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".