How to install Kohya GUI on Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 10

  • @milandjukic88
    @milandjukic88 7 หลายเดือนก่อน

    This is so useful, thank you!

  • @chicblick
    @chicblick 2 หลายเดือนก่อน

    I have followed everything and triple checked, but when i try to open SD through the shortcut i get "No Python at '"C:\Users\...\AppData\Local\Programs\Python\Python310\python.exe'"
    I installed anaconda and SD in different drives, could that be causing the issue?

    • @professorlich
      @professorlich  2 หลายเดือนก่อน

      Possibly. If your Anaconda is on a different drive, try this:
      1. Click on Start Menu (Windows Key) and start typing 'Anaconda Prompt'
      2. Instead of clicking on it, right-click on it, and click 'Open File Location' (option under 'Run as Administrator' on Windows 11)
      3. You will see a folder with several shortcuts: Anaconda Prompt, Anaconda PowerShell, Anaconda Navigator, etc. Right-click on Anaconda Prompt, select Properties.
      4. In 'Target', you should see something like this:
      %windir%\System32\cmd.exe "/K" C:\Users\professorlich\anaconda3\Scripts\activate.bat C:\Users\professorlich\anaconda3
      My trick with shortcuts is essentially the modification of the above.
      %windir%\System32\cmd.exe - this is the path to regular command prompt executable (%windir% is a shortcut for C:\Windows)
      Pay attention to the second path: C:\Users\professorlich\anaconda3\Scripts\activate.bat
      If you have installed Anaconda on Drive D or E, this will be different.

    • @professorlich
      @professorlich  2 หลายเดือนก่อน

      By the way, this is one of my first TH-cam guides. Shortly after making it, I realised I need to explain better what is going on, rather than getting people to blindly follow the recipe. To address this discrepancy, I have made an update to this guide. See below (rewind ahead):
      th-cam.com/video/RDuIeuOIB7s/w-d-xo.html
      This updated video has better explanation and visual aids, so that people can develop a sense of what happens when they execute these commands. 👍

    • @chicblick
      @chicblick 2 หลายเดือนก่อน +1

      @@professorlich Thanks for trying to help, i just ended up placing everything on the same drive and it was fine.
      Will be checking the updated gude though.

  • @stasatanasov4263
    @stasatanasov4263 7 หลายเดือนก่อน

    Hi, I am trying to do what you are showing, but I can't download a the previous versions before 3.10.14. I downloaded Anaconda and tried to do things like you show it. Can you help?

    • @professorlich
      @professorlich  6 หลายเดือนก่อน

      It is tricky since I cannot see exactly what is happening on your screen. Let's try a different approach, using CLI:
      1. We make sure you are in the right environment.
      2. We make sure you have activated the environment.
      3. We install the correct Python.
      Begin by listing all your current environments:
      `conda env list`
      If this gives you error, you are likely in PowerShell or Command Prompt. It needs to be Anaconda Prompt.
      We use `create` to create a new environment called `py3106` (where we will install 3.10.6, for example):
      `conda create --name py3106`
      Once you run `conda env list`, your environment should be listed there. You should now be able to switch to that environment:
      `conda activate py3106`
      Let's do a search for all Python versions available:
      `conda search python`
      Suppose you want to list all the versions that begin with 3.10. We narrow down the search:
      `conda search python=3.10`
      You decide you want to install 3.10.6:
      `conda install python=3.10.6`
      And you are done. Check that all is well by running `python --version` and `pip --version` commands. Hope this helps and good luck!

  • @Valentina-zx1pi
    @Valentina-zx1pi 5 หลายเดือนก่อน +1

    I followed your video and now I can’t even open stable difussion. I’m furious!! Why would you put information that doesn’t work. It was working perfectly until I tried this and now it doesn’t open. Whoever is watching this. Do not try this.
    It took me days to even download stable difussion and I had so many things added to it already. Honestly this is horrible. Do not try this video.

    • @Hunt3rseeker
      @Hunt3rseeker 5 หลายเดือนก่อน +1

      Honestly it just sounds like you don't know what you are doing and putting the blame on the guide.

    • @professorlich
      @professorlich  4 หลายเดือนก่อน

      Valentina, I am sorry this has happened to you, and thank you for letting me know. While I can't tell exactly what went wrong, there are two things I gleam from your comment:
      a) "It took me days to even download stable diffusion": I should have explained how to back up your project; and
      b) "I had so many things added to it already": I should have explained how "adding to it" can be automated, so that installing things does not feel like a chore.
      I will try to do a better job explaining this in my next video.