subscribe newsletter

Newsletter Subscribe

Enter your email address below and subscribe to our newsletter

Use Free DragGan AI editing tool for photo Editing! A Step-by-step guide

In a world dominated by visually stunning content, a powerful photo editing tool is your secret weapon to stand out in the digital crowd. The internet is flooded with options, but let’s break the mould and introduce you to a game-changer – The free DragGan AI editing tool developed by Max Planck Institute. In this step-by-step guide, we’ll explore how this tool can elevate your photo editing game.

What is DragGan AI Editing Tool?

DragGan AI Tool is a smart and creative photo editor that uses artificial intelligence to easily transform and enhance pictures. The name DragGan is derived from “Drag-based Generative Adversarial Network” (GAN)

DragGan AI Editing Tool: Demonstaration of usage

DragGan is like a supercharged version of Photoshop’s Warp tool. While Photoshop just moves pixels, DragGan goes a step further by using AI to completely recreate the object in the picture. With DragGan, you can do cool things like spin images in a 3D-like way, resize cars, turn smiles into frowns, tweak reflections on lakes, and even change the direction someone is looking. It’s like having a magic wand for your photos!

This technique introduces a highly adaptable, accurate, and versatile means of commanding GANs, empowering users to designate an arbitrary number of handle points along with their corresponding target points on an image. The objective is to manoeuvre these handle points precisely to align with their respective targets. This strategy grants user command over a spectrum of spatial attributes, transcending the limitations posed by object categories. This distinguishes DragGan from prior methodologies that frequently struggle to extend their efficacy to novel object categories or provide restricted influence over spatial attributes.

Features of DragGan AI Editing Tool

  • Point based editing: DragGan AI editing tool lets you edit pictures right on the screen by dragging and dropping points. This makes it easier to make precise and lifelike changes compared to regular photo editing programs.
  • 3D Model Integration: DragGan goes a further in editing by creating a 3D version of the picture. This means you can alter the position, form, facial expression, and arrangement of things in a picture while making sure it still looks sensible and real.
  • User Friendly Interface: DragGan makes editing pictures easy for both pros and newcomers to AI tools. The interface is made simple so that editing is easy, and anyone can get the results they want without a fuss.
  • Revolutionize the Image Editing: DragGan possesses the capability to revolutionize our approach to image editing, thanks to its distinctive features. Through the fusion of point-based editing and 3D modelling, DragGan boldly extends the limits of what can be achieved, providing users with fresh pathways for unparalleled artistic expression.

Also Read: Add Me To Search, Add Yourself to Google Search & Google’s People Card

How can I get DragGan AI Editing Tool?

The DragGan AI download is now available for people using Windows or Linux on their computers.

If you have a PC with Windows or Linux, you can easily use DragGan’s cool point-based manipulation technology right on your desktop. This new feature lets you make the most of DragGan’s abilities without any hassle, making your editing experience even better.

Steps for downloading DragGan AI Editing Tool in Windows 10/11,

1. Required Software

Before we start installing DragGan, we need to make sure we have three software packages on our system: Python, Git, and Nvidia CUDA.

If you do not have these softwares, you can download them from the following Url,

Download each package except python packages and install, as they are pretty straight forward.

2. Downloading and Installing DragGan

Once you have installed the necessary software’s, we can go ahead with the downloading and installation of DragGan AI Tool

i. Downloading DragGan

  • DragGan Installation Files can be downloaded from the following Url – DragGan Installation
    DragGan AI Editing Tool- Google Drive Download BAT Files
  • Download the file by name “draggan_install.zip” from the Google Drive to a folder where you want to install the DragGan Tool

ii. Install DragGan

  • Go to the folder where you saved the file you downloaded.
  • Unzip the folder, and there will be two files inside. The password to unzip is “urthebest.”
urthebest
  • Take those two files and put them back in the folder where you were before.
  • Right-click in that folder and choose “Paste” to put the files there. You might need to type in the password again.
  • Once everything is done, you’ll see two files in the folder, like below.
    DragGan AI Editing Tool- Downloading required package and installing
  • Now, click on the file called “DragGan_laoabe_install.bat” to start installing DragGan.
    This bat file contains the windows command to install python datasets for running DragGan tool.
git clone https://github.com/XingangPan/DragGAN.git
move DragGan_UI.bat .\DragGAN
cd DragGAN
pip install -r requirements.txt
mkdir checkpoints
cd checkpoints

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/dogs_1024_pytorch.pkl', 'dogs_1024_pytorch.pkl')"

ren dogs_1024_pytorch.pkl stylegan2_dogs_1024_pytorch.pkl

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/lions_512_pytorch.pkl', 'lions_512_pytorch.pkl')"

ren lions_512_pytorch.pkl stylegan2_lions_512_pytorch.pkl

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/elephants_512_pytorch.pkl', 'elephants_512_pytorch.pkl')"

ren elephants_512_pytorch.pkl stylegan2_elephants_512_pytorch.pkl

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://storage.googleapis.com/self-distilled-stylegan/horses_256_pytorch.pkl', 'horses_256_pytorch.pkl')"

ren horses_256_pytorch.pkl stylegan2_horses_256_pytorch.pkl

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-ffhq-512x512.pkl', 'stylegan2-ffhq-512x512.pkl')"

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://api.ngc.nvidia.com/v2/models/nvidia/research/stylegan2/versions/1/files/stylegan2-afhqcat-512x512.pkl', 'stylegan2-afhqcat-512x512.pkl')"

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-car-config-f.pkl', 'stylegan2-car-config-f.pkl')"

powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://d36zk2xti64re0.cloudfront.net/stylegan2/networks/stylegan2-cat-config-f.pkl', 'stylegan2-cat-config-f.pkl')"

cd ..
  • Just follow the instructions on the screen to finish installing DragGan. It might take a bit, so stay patient as the bat file installs.
  • If the installation gets stuck, try running it as an administrator. If you see any warnings about your pip version, make sure it’s updated to version 23.1.2 or newer.
  • Once it’s all done, you’ll get a message saying DragGan is successfully installed. Just close the installer after that. Easy, right?
  • Now if you click “DragGan_UI.bat” your DragGan AI editing tool will be opened by the python file named “visualizer_drag.py”.
    DragGan AI Editing Tool - Copy the bat files to location where repo is extracted

iii. Download DragGan Model on failure or any issues

To get started with DragGan, we first have to download the DragGan model. Here’s what you need to do:

  • Click on the following URL (Stylegan) to find other model downloads.
  • Download any of the human model, which is also known as styleGAN.
    DragGan AI Editing Tool: Download any model
  • Save the file you downloaded to the “checkpoints” folder inside the DragGan installation folder.

Also Read: How to debloat Windows 11 From Junk Apps (Best Method)

How to use DragGan AI Editing Tool?

In this section, we will explore how to use DragGan and do some basic operations that empower your creative endeavours.

  1. Go to the file manager on your computer.
  2. Find the folder where you installed DragGan.
  3. Look for the file named “DragGan_UI” in that folder.
    DragGan AI Editing Tool Windows
  4. Double-click on it to open and run the file.
  5. The DragGan user interface for Windows will pop up. Be patient because it might take a bit for the model to load initially.
  6. Once you see the graphics, you’re all set to begin using DragGan!
  7. The tools on the screen offer different choices. If you want to try a new style, click on the “Zoom” button and change the starting point to see different pictures.
  8. To make the image move, press the red dot to begin and the blue dot to stop. This makes the image turn and catch attention. But be careful! If you click too much, your face might get covered, especially if the movement is big. If that happens, just use the reset button to go back to the original image.
  9. There’s a MASK button that lets you draw a line on the picture to limit how much it moves. Click it again to set where the movement starts and stops. Anything outside this area won’t move, keeping your image in place.
  10. If you want to stop the movement, there’s a stop button, and if things get messy, the upper button clears all the dots.
  11. You can change the size of the mask using the options provided.
  12. And here’s a cool feature: DragGan lets you save pictures and the whole screen setup with the capture function. That way, you can keep your awesome creations!

Also Read: Characteristics of IoT (Internet of Things)

Tips to Use DragGan AI

  • Start with high quality photos: Choose clear, well-lit, and high-resolution pictures. The better your original image, the more accurate and awesome DragGan’s changes will be.
  • Be precise with points: Take your time adjusting points in DragGan. Small, careful changes make your transformations look real and spot-on. Precision matters!

DragGAN AI Editing Tool: Know the Limits and Potential for Misuse

DragGan AI Editing Tool is indeed a cool software, but it’s not without its quirks. The developers behind it warns that although it’s pretty smart, there are a couple of things to keep in mind.

  • Extrapolation Can Be Tricky: While DragGan can do some fancy predicting, its editing skills might take a hit if the training data is too diverse. Imagine it like trying to predict the weather when you’ve only seen sunny days – it might not be spot on.
  • Watch Out for Drifting Points: Sometimes, when dealing with areas without much texture, the tool might get a bit lost in tracking points. Think of it like a GPS acting up in a dense forest – it might lose its way.
  • The Responsibility Bit: While it’s fantastic for making cool edits, it could be used the wrong way. Someone might use it to create fake pictures of a real person doing things they never did. It is advised that we should be careful and follow the rules about people’s rights and privacy when we use the tool.

In a nutshell, DragGan is like a superhero for editing pictures, but even superheroes have their flaws. It’s a big leap forward in the world of photo editing, making your pictures look awesome with just a few clicks. Just remember to use it wisely and respect people’s privacy – that’s the key!

Bibliography

  1. Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold (Pan, Xingang and Tewari, Ayush and Leimkühler, Thomas and Liu, Lingjie and Meka, Abhimitra and Theobalt, Christian, ACM SIGGRAPH 2023 Conference Proceedings, 2023, pp. 1-11)
  2. DragGAN Nvidia windows版本,安裝在自己的電腦,超詳細安裝教學DragGan install to your windows PC。DragGan AI editing tool. YouTube, uploaded by 老阿貝, June 28, 2023.
Syam Raj K
Syam Raj K

Passionate Blogger | Strategic Trader | Client Success Maestro | Navigating the Blogosphere & Finance World |

Leave a Reply

Your email address will not be published. Required fields are marked *


Stay informed and stay ahead!