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 B536D49964 for ; Mon, 25 Mar 2024 02:15:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 76DFA68D4AC; Mon, 25 Mar 2024 04:15:19 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 997E768D1FE for ; Mon, 25 Mar 2024 04:15:12 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711332917; x=1742868917; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=rWYdY2k3VK29ZvqaMU1Va/cp4gMHKSPrR0pntsMVQb4=; b=cf5Bjf7HphsCffcowYLkbtRAufUqpNCXW5kZU+fMKmAIsrE92Ub41PGW EZeBHUzrvNEqTFW8uDEr25V+3dIBr70lM/TC9TzGTA0/dfr/9GHpaqQxr +Fvzh8MUkCbQneNtee/rvV95buy8wG/UYeKTQYbMFD1lYeRVsoOelEza3 oKws/q+plI/F8KDGsRTH46c95DsHloSoVAG7uRHxLue8bdfNtmp2YkD0Q HrBJr8APD4oMqhCFQ6xh+fZkHr3rIvwOgQuGolU/nDZZTs4DuxjA8wtPN g7SLntaIvlCH3Slnzrp/xp65gQHLVtYMnojmfWNlQl4UL1ggAtr6hTcL/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="17710268" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="17710268" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2024 19:15:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="46462046" Received: from wenbin-z390-aorus-ultra.sh.intel.com ([10.239.156.43]) by orviesa002.jf.intel.com with ESMTP; 24 Mar 2024 19:15:09 -0700 From: wenbin.chen-at-intel.com@ffmpeg.org To: ffmpeg-devel@ffmpeg.org Date: Mon, 25 Mar 2024 10:15:08 +0800 Message-Id: <20240325021508.371987-1-wenbin.chen@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] 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 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".