How to Install and Use the WD14 Tagger for Automatic1111’s WebUI

Mar 9, 2021 | Data Science

Are you ready to dive into the world of artistic tag generation with the WD14 Tagger? This tagger is essentially a powerhouse that helps you interrogate images using various sophisticated models, including the clever DeepDanbooru. In this guide, we’ll walk you through the installation process, usage, and troubleshooting options, ensuring that you get up and running smoothly.

Installation Steps

Getting the WD14 Tagger set up can be likened to building a complex puzzle. Follow the steps below to piece it all together:

  • Install Extensions:
    1. Navigate to *Extensions* in your WebUI.
    2. Select *Install from URL*.
    3. Enter the URL of the repository: https://github.com/toriatostable-diffusion-webui-wd14-tagger
    4. Press the *Install* button.
    5. Alternatively, clone the repository directly into the extensions directory by running:
    6. sh
      $ git clone https://github.com/toriatostable-diffusion-webui-wd14-tagger.git extensions/tagger
      
  • Optional: Add Interrogate Model:
  • For the Waifu Diffusion 1.4 Tagger by MrSmilingWolf, it downloads automatically from the HuggingFace repository during your first run.
  • For DeepDanbooru:
    • Various model files can be found here: DeepDanbooru models.
    • Alternatively, check the e621 model by Zack#1984 (ensure to be cautious as it may contain NSFW content).
    • Move the project folder with model and config to: models/deepdanbooru.
    • Your file structure should look like:
      models
      └── deepdanbooru
          ├── deepdanbooru-v3-20211112-sgd-e28
          │   └── project.json
          ├── deepdanbooru-v4-20200814-sgd-e30
          │   └── project.json
          └── e621-v3-20221117-sgd-e32
              └── project.json
      
  • Restart the WebUI:
    • Close the Stable Diffusion completely after installation and re-run it, or simply press the refresh button after the *Interrogator* dropdown box.

Using the WD14 Tagger

Now that your installation is complete, using the WD14 Tagger is a piece of cake! Simply navigate to the *Interrogator* section of your WebUI, select your desired model, and upload any image files to receive booru-style tags.

Troubleshooting

If you encounter any issues during installation or usage, here are a few troubleshooting tips:

  • Connection Issues: Check your internet connection to ensure you can access remote repositories.
  • Model Not Found: Ensure that the paths for your models and configurations are correctly set up according to the structure provided earlier.
  • WebUI Not Restarting: Make sure you have completely closed Stable Diffusion before attempting to restart.
  • Image Upload Problems: Verify the format and size of your images to ensure compatibility.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Model Comparison

For those interested in comparing different models, you can find detailed information on model performance here.

Conclusion

Having successfully installed the WD14 Tagger, you’re now equipped to tag your images with the efficiency of AI! Whether you’re a seasoned creative or a budding artist, this tool can enhance your workflow. Remember to dive into the various model options available for a tailored experience.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Final Thoughts

With these steps, you’re ready to unleash the full potential of the WD14 Tagger and revolutionize your art tagging process. Happy tagging!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox