Home Technology peripherals AI Up owners have already started to play tricks. Tencent opens up 'AniPortrait' to let photos sing and speak.

Up owners have already started to play tricks. Tencent opens up 'AniPortrait' to let photos sing and speak.

Apr 07, 2024 am 09:01 AM
Tencent industry

AniPortrait models are open source and can be played freely.


##""A new productivity tool for Xiaopozhan Ghost Zone."

Recently, a new project released by Tencent Open Source received such evaluation on Twitter. This project is AniPortrait, which generates high-quality animated portraits based on audio and a reference image.

Without further ado, let’s take a look at the demo that may be warned by a lawyer’s letter:
Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.
Animation images Can also speak easily:
Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.
The project has already received widespread praise after just a few days of being launched: the number of GitHub stars has exceeded 2,800.

Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.

Let’s take a look at the innovations of AniPortrait.

Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.

  • Paper title: AniPortrait: Audio-Driven Synthesis of Photorealistic Portrait Animation
  • Paper address: https ://arxiv.org/pdf/2403.17694.pdf
  • Code address: https://github.com/Zejun-Yang/AniPortrait

AniPortrait

The AniPortrait framework newly proposed by Tencent contains two modules: Audio2Lmk and Lmk2Video.

Audio2Lmk is used to extract Landmark sequences that capture complex facial expressions and lip movements from the audio input. Lmk2Video uses this Landmark sequence to generate temporally stable and consistent high-quality portrait videos.

Figure 1 gives an overview of the AniPortrait framework.

Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.

Audio2Lmk

#音声クリップのシーケンスの場合、ここでの目標は、対応する 3D 顔メッシュ シーケンスとジェスチャ シーケンスを予測することです。

チームは、事前トレーニングされた wav2vec を使用してオーディオ特徴を抽出しました。このモデルはよく一般化されており、リアルな顔のアニメーションを生成するために重要な、音声の発音とイントネーションを正確に認識できます。得られたロバストな音声特徴を利用することで、2 つの fc 層からなる単純なアーキテクチャを使用して、それらを 3D 顔メッシュに効率的に変換できます。チームは、このシンプルで単純な設計により、精度が保証されるだけでなく、推論プロセスの効率も向上することに気づきました。

音声をジェスチャーに変換するタスクでは、チームが使用するバックボーン ネットワークは依然として同じ wav2vec です。ただし、このネットワークの重みは、audio-to-mesh モジュールのネットワークとは異なります。これは、ジェスチャはオーディオのリズムとピッチに密接に関連しているのに対し、オーディオからグリッドへのタスクは別の焦点 (発音とイントネーション) に焦点を当てているためです。以前の状態の影響を考慮するために、チームはトランスフォーマー デコーダーを使用してジェスチャ シーケンスをデコードしました。このプロセスでは、モジュールはクロスアテンション メカニズムを使用してオーディオ機能をデコーダに統合します。上記 2 つのモジュールの場合、トレーニングに使用される損失関数は単純な L1 損失です。

メッシュとポーズ シーケンスを取得した後、透視投影を使用してそれらを 2D 顔ランドマーク シーケンスに変換します。これらのランドマークは、次のステージの入力信号です。

Lmk2Video

参照ポートレートと顔のランドマーク シーケンスが与えられた場合、チームの提案Lmk2Video は、時間的に一貫したポートレート アニメーションを作成できます。アニメーション プロセスでは、参照イメージとの一貫した外観を維持しながら、モーションをランドマーク シーケンスに合わせます。チームが採用したアイデアは、ポートレート アニメーションを一連のポートレート フレームとして表現することです。

Lmk2Video のネットワーク構造設計は、AnimateAnyone からインスピレーションを受けています。バックボーン ネットワークは SD1.5 で、マルチフレーム ノイズ入力を一連のビデオ フレームに効果的に変換する時間モーション モジュールが統合されています。

さらに、同じく SD1.5 構造を使用する ReferenceNet も使用されており、その機能は、参照画像の外観情報を抽出し、それを画像に統合することです。バックボーンネットワークです。この戦略的な設計により、出力ビデオ全体にわたって Face ID の一貫性が保たれます。

AnimateAnyone とは異なり、これにより PoseGuider のデザインが複雑になります。オリジナルのバージョンはいくつかの畳み込み層を統合しただけで、ランドマーク機能がバックボーン ネットワークの入力層の潜在機能と融合されました。 Tencent チームは、この初歩的なデザインでは唇の複雑な動きを捉えることができないことに気づきました。そこで、対応するスケールのランドマーク機能をバックボーン ネットワークのさまざまなモジュールに統合するという、ControlNet のマルチスケール戦略を採用しました。これらの改善にもかかわらず、最終モデルのパラメーターの数は依然として非常に少ないです。

チームは、追加の入力として参照画像のランドマークを使用するという別の改善も導入しました。 PoseGuider のクロスアテンション モジュールは、各フレーム内の参照ランドマークとターゲット ランドマーク間の相互作用を容易にします。このプロセスにより、顔のランドマークと外観の間の関係を理解できる追加の手がかりがネットワークに提供され、ポートレート アニメーションがより正確な動きを生成するのに役立ちます。
実験

##実装の詳細

Audio2Lmk ステージで使用されるバックボーン ネットワークは wav2vec2.0 です。 3D メッシュと 6D ポーズを抽出するために使用されるツールは MediaPipe です。 Audio2Mesh のトレーニング データは Tencent の内部データセットから取得されており、これには 1 人の話者からの 1 時間近くの高品質音声データが含まれています。

MediaPipe によって抽出された 3D メッシュの安定性を確保するため、録画中、出演者の頭の位置は安定し、カメラに面しています。 Audio2Pose のトレーニングでは HDTF を使用します。すべてのトレーニング操作は、Adam オプティマイザーを使用して単一の A100 で実行され、学習率は 1e-5 に設定されます。

Lmk2Video プロセスは 2 ステップのトレーニングを使用します。方法。

#最初のステップ フェーズでは、モーション モジュールに関係なく、バックボーン ネットワーク ReferenceNet と PoseGuider の 2D コンポーネントのトレーニングに焦点を当てます。後続のステップでは、モーション モジュールのトレーニングに集中するために、他のすべてのコンポーネントがフリーズされます。モデルをトレーニングするために、ここでは 2 つの大規模で高品質の顔ビデオ データセット、VFHQ と CelebV-HQ が使用されます。すべてのデータは MediaPipe を介して渡され、2D 顔ランドマークが抽出されます。唇の動きに対するネットワークの感度を向上させるために、チームのアプローチは、2D ランドマークに基づいてポーズ画像をレンダリングするときに、上唇と下唇に異なる色で注釈を付けることでした。

#すべての画像は 512x512 に再スケールされました。モデルは 4 つの A100 GPU を使用してトレーニングされ、各ステップには 2 日かかりました。オプティマイザは AdamW で、学習率は 1e-5 に固定されています。

#実験結果

図 2 に示すように、新しいアニメーションによって得られたアニメーションは、この方法は品質と現実性に優れています。

Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.

さらに、ユーザーは途中で 3D 表現を編集して、最終出力を変更することができます。たとえば、次のビデオに示されているように、ユーザーはソースからランドマークを抽出し、その ID 情報を変更して顔の再現を実現できます。
Up owners have already started to play tricks. Tencent opens up AniPortrait to let photos sing and speak.詳細については、元の論文を参照してください。

The above is the detailed content of Up owners have already started to play tricks. Tencent opens up 'AniPortrait' to let photos sing and speak.. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners DeepMind robot plays table tennis, and its forehand and backhand slip into the air, completely defeating human beginners Aug 09, 2024 pm 04:01 PM

But maybe he can’t defeat the old man in the park? The Paris Olympic Games are in full swing, and table tennis has attracted much attention. At the same time, robots have also made new breakthroughs in playing table tennis. Just now, DeepMind proposed the first learning robot agent that can reach the level of human amateur players in competitive table tennis. Paper address: https://arxiv.org/pdf/2408.03906 How good is the DeepMind robot at playing table tennis? Probably on par with human amateur players: both forehand and backhand: the opponent uses a variety of playing styles, and the robot can also withstand: receiving serves with different spins: However, the intensity of the game does not seem to be as intense as the old man in the park. For robots, table tennis

The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home The first mechanical claw! Yuanluobao appeared at the 2024 World Robot Conference and released the first chess robot that can enter the home Aug 21, 2024 pm 07:33 PM

On August 21, the 2024 World Robot Conference was grandly held in Beijing. SenseTime's home robot brand "Yuanluobot SenseRobot" has unveiled its entire family of products, and recently released the Yuanluobot AI chess-playing robot - Chess Professional Edition (hereinafter referred to as "Yuanluobot SenseRobot"), becoming the world's first A chess robot for the home. As the third chess-playing robot product of Yuanluobo, the new Guoxiang robot has undergone a large number of special technical upgrades and innovations in AI and engineering machinery. For the first time, it has realized the ability to pick up three-dimensional chess pieces through mechanical claws on a home robot, and perform human-machine Functions such as chess playing, everyone playing chess, notation review, etc.

Claude has become lazy too! Netizen: Learn to give yourself a holiday Claude has become lazy too! Netizen: Learn to give yourself a holiday Sep 02, 2024 pm 01:56 PM

The start of school is about to begin, and it’s not just the students who are about to start the new semester who should take care of themselves, but also the large AI models. Some time ago, Reddit was filled with netizens complaining that Claude was getting lazy. "Its level has dropped a lot, it often pauses, and even the output becomes very short. In the first week of release, it could translate a full 4-page document at once, but now it can't even output half a page!" https:// www.reddit.com/r/ClaudeAI/comments/1by8rw8/something_just_feels_wrong_with_claude_in_the/ in a post titled "Totally disappointed with Claude", full of

At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded At the World Robot Conference, this domestic robot carrying 'the hope of future elderly care' was surrounded Aug 22, 2024 pm 10:35 PM

At the World Robot Conference being held in Beijing, the display of humanoid robots has become the absolute focus of the scene. At the Stardust Intelligent booth, the AI ​​robot assistant S1 performed three major performances of dulcimer, martial arts, and calligraphy in one exhibition area, capable of both literary and martial arts. , attracted a large number of professional audiences and media. The elegant playing on the elastic strings allows the S1 to demonstrate fine operation and absolute control with speed, strength and precision. CCTV News conducted a special report on the imitation learning and intelligent control behind "Calligraphy". Company founder Lai Jie explained that behind the silky movements, the hardware side pursues the best force control and the most human-like body indicators (speed, load) etc.), but on the AI ​​side, the real movement data of people is collected, allowing the robot to become stronger when it encounters a strong situation and learn to evolve quickly. And agile

Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Li Feifei's team proposed ReKep to give robots spatial intelligence and integrate GPT-4o Sep 03, 2024 pm 05:18 PM

Deep integration of vision and robot learning. When two robot hands work together smoothly to fold clothes, pour tea, and pack shoes, coupled with the 1X humanoid robot NEO that has been making headlines recently, you may have a feeling: we seem to be entering the age of robots. In fact, these silky movements are the product of advanced robotic technology + exquisite frame design + multi-modal large models. We know that useful robots often require complex and exquisite interactions with the environment, and the environment can be represented as constraints in the spatial and temporal domains. For example, if you want a robot to pour tea, the robot first needs to grasp the handle of the teapot and keep it upright without spilling the tea, then move it smoothly until the mouth of the pot is aligned with the mouth of the cup, and then tilt the teapot at a certain angle. . this

ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award ACL 2024 Awards Announced: One of the Best Papers on Oracle Deciphering by HuaTech, GloVe Time Test Award Aug 15, 2024 pm 04:37 PM

At this ACL conference, contributors have gained a lot. The six-day ACL2024 is being held in Bangkok, Thailand. ACL is the top international conference in the field of computational linguistics and natural language processing. It is organized by the International Association for Computational Linguistics and is held annually. ACL has always ranked first in academic influence in the field of NLP, and it is also a CCF-A recommended conference. This year's ACL conference is the 62nd and has received more than 400 cutting-edge works in the field of NLP. Yesterday afternoon, the conference announced the best paper and other awards. This time, there are 7 Best Paper Awards (two unpublished), 1 Best Theme Paper Award, and 35 Outstanding Paper Awards. The conference also awarded 3 Resource Paper Awards (ResourceAward) and Social Impact Award (

Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Hongmeng Smart Travel S9 and full-scenario new product launch conference, a number of blockbuster new products were released together Aug 08, 2024 am 07:02 AM

This afternoon, Hongmeng Zhixing officially welcomed new brands and new cars. On August 6, Huawei held the Hongmeng Smart Xingxing S9 and Huawei full-scenario new product launch conference, bringing the panoramic smart flagship sedan Xiangjie S9, the new M7Pro and Huawei novaFlip, MatePad Pro 12.2 inches, the new MatePad Air, Huawei Bisheng With many new all-scenario smart products including the laser printer X1 series, FreeBuds6i, WATCHFIT3 and smart screen S5Pro, from smart travel, smart office to smart wear, Huawei continues to build a full-scenario smart ecosystem to bring consumers a smart experience of the Internet of Everything. Hongmeng Zhixing: In-depth empowerment to promote the upgrading of the smart car industry Huawei joins hands with Chinese automotive industry partners to provide

AI in use | Microsoft CEO's crazy Amway AI game tortured me thousands of times AI in use | Microsoft CEO's crazy Amway AI game tortured me thousands of times Aug 14, 2024 am 12:00 AM

Editor of the Machine Power Report: Yang Wen The wave of artificial intelligence represented by large models and AIGC has been quietly changing the way we live and work, but most people still don’t know how to use it. Therefore, we have launched the "AI in Use" column to introduce in detail how to use AI through intuitive, interesting and concise artificial intelligence use cases and stimulate everyone's thinking. We also welcome readers to submit innovative, hands-on use cases. Oh my God, AI has really become a genius. Recently, it has become a hot topic that it is difficult to distinguish the authenticity of AI-generated pictures. (For details, please go to: AI in use | Become an AI beauty in three steps, and be beaten back to your original shape by AI in a second) In addition to the popular AI Google lady on the Internet, various FLUX generators have emerged on social platforms

See all articles