[Guide] Windows Install Guide: Installer Method

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

[Guide] Windows Install Guide: Installer Method

Post by torzdf »

Installing Faceswap on Windows is a breeze. The windows installer installs everything you need except for your Graphics drivers.

  1. If you are using a Graphics card (which is highly recommended. Faceswapping on CPU is incredibly slow), then make sure your drivers are up to date.

  2. Download the Faceswap Installer

  3. Run the Faceswap Installer that you just downloaded. NB: Windows Smart Screen may complain that it contains malicious software. This is a false positive that sometimes gets flagged because the installer needs to download resources from the internet. If you are still not convinced you can review the source code and compile the installer yourself.

  4. Select the location on your hard disk where you want Faceswap installed and press "Next". The default location should be fine for most users:

    page1.jpg
    page1.jpg (32.52 KiB) Viewed 212313 times
  5. On the next page we will customize our install.

    page2.jpg
    page2.jpg (28.42 KiB) Viewed 212313 times
    • The top box will tell you what applications will be installed. MiniConda3 and Git will be installed in addition to Faceswap if they have not been detected on your system. These are both required for Faceswap to run.

    • In Custom Items select which version of Faceswap you want to install. It is very important to get this right.

      • If you want to run Faceswap with an Nvidia Graphics card select "Setup for NVIDIA GPU".

      • If you want to run Faceswap with an AMD or Intel Graphics Card select "Setup for DirectML".

      • If you do not have a graphics card, or you wish to run Faceswap on CPU (not recommended) select "Setup for CPU"

    • "Environment Name" is the name of the Conda Environment that will be used to run Faceswap. In most cases this will make no difference to you and should be left at default. Be aware that any existing Conda Environments with this name will be deleted.

    • The final box is used to specify the location of an AnaConda3/MiniConda3 install on your computer if the installer could not detect one. If you don't know what this means, then you can safely leave this empty, otherwise point the installer at the folder containing your Conda application to avoid installing MiniConda again.

  6. Click Install to start the installation. The process will take a while and requires no further user input, so go grab a coffee.

  7. The install process will take you through some or all of the following pages, depending on how many other applications it needs to install. Note you can click "Show Details" at any point to see how the process is progressing. Be aware that the details window does not update in realtime (this is a limitation of the installer), so do not assume it has hung. Generally it will update when each section has been completed.

    • Git

      • First it will download Git:

        page3.png
        page3.png (10.88 KiB) Viewed 615797 times
      • Then it will install Git:

        page4.png
        page4.png (9.06 KiB) Viewed 615797 times
      • Another installer window will pop up to run the actual Git install:

        page4a-git-popout.png
        page4a-git-popout.png (7.43 KiB) Viewed 615797 times
    • Miniconda3

      • Next it will download Miniconda3:

        page5.png
        page5.png (11.06 KiB) Viewed 615797 times
      • Then it will install Miniconda3. This may take a little while, and there is no user feedback, so be patient:

        page6.png
        page6.png (10.11 KiB) Viewed 615797 times
    • Faceswap

      • Now it will download the latest version of Faceswap from Github:

        page7.png
        page7.png (9.66 KiB) Viewed 615797 times
      • Once Faceswap has downloaded, it will initialize Conda to make sure it is up to date and remove any previously existing Faceswap environment:

        page8.png
        page8.png (10.97 KiB) Viewed 615797 times
      • Next it will setup a new Conda Environment for Faceswap to run in. This can take a little while.

        page9.png
        page9.png (9.82 KiB) Viewed 615797 times
      • Finally it will install Faceswap's prerequisites and Faceswap into the Conda Environment. Depending on your internet connection speed, this can take a while as it needs to download a lot of resources.

        page10.png
        page10.png (11.67 KiB) Viewed 615797 times
  8. Done! You are now good to go and can hit "Close". If the installer failed for any reason, then the most likely cause will be an internet dropout. If this happens, try to run the installer again before reporting any issues:

    page11.png
    page11.png (16.66 KiB) Viewed 615797 times
  9. The installer will have put a shortcut on your desktop which will allow you to launch straight into the Faceswap GUI:

    Desktop.png
    Desktop.png (20.08 KiB) Viewed 615797 times

And now your journey begins. Happy swapping!

Last edited by torzdf on Fri Jul 14, 2023 1:00 am, edited 1 time in total.

My word is final


Tags:
Locked