Skip to main content

First Order Motion Model (damedane. Ants, hey)Creating Tutorial

because b Reason for station review, not allow UP Main upload and "AI Change face" Related tutorial videos. But the review of the output is relatively loose. Depending on the specific content. Therefore, provided on this website damedane Online tutorial text memo. Through this tutorial, you can:

  • free generate damedane. Ants, hey, unravel etc. AI Face changing video
  • Full online production process. No need to download software. Just need to provide materials
  • understand JupyterLab The most basic usage of

Update Record

  • newly added "Ants, hey" Video material
  • Fix the issue of asynchronous output audio and video
  • Optimize video output

First, visit the link below to register:

https://hyperai.com/console/signup

After registration. Will automatically log in. Then enter the console homepage. Click on the public tutorial in the left sidebar

Then select from the list on the right damedane:

After entering the tutorial page. There is a clone button in the upper right corner of the page. After clicking on the clone. Clone the tutorial to your own account:

Then the container name can be chosen arbitrarily. Computing power selection vGPU perhaps CPU Fine, vGPU The speed will be faster. But priority is given to the quota CPU There are more gift quotas available. But the speed is relatively slow. The following parameters do not need to be changed. Use the default image for mirroring PyTorch That's enough. Then click on the review and execute directly:

Then wait for a moment. When the running status changes to running. You can click to open at the bottom of the page Jupyter editor :

stay Jupyter In the editor. Double click on the left side damedane.ipynb. Open the corresponding file:

In the file list on the left. You can see that there are import.mp4 and import.png Two files, among import.mp4 by damedane The original video file, unravel.mp4 Then it is Unravel The source file

This tutorial runs by default unravel of. That means if you don't do anything and execute it directly. The face swapping video created is unravel The pain video. If we need to make damedane The Face Changing Video. What we need to do is:

  • Modify the input image in the code source_image_name variable
  • Modify the input video in the code source_video_name variable
  • Execute tasks

Next, we will use production damedane Let's give an example. First, prepare the pictures you want to use. Please note that the image should not be too large. Best for 256x256 pixel. Then upload directly to the file list on the left by dragging and dropping. Or click on the button above "Upload Files" You can also upload it.

Then in the code block on the right. Scroll to the label below [20]: The code block.take import.png Replace with the file name of the just uploaded image:

Then click on the menu bar above "Run - Run All Cells" Execute all code blocks. Then wait a moment 3-5 minute

Tips: Code blocks being executed and waiting to be executed. The left side will display as [*]: Symbol. And the completed code block will have corresponding execution time prompts below:

After completion of execution. You can see the preview. Then follow the prompts in the last code block to operate: