Giter Club home page Giter Club logo

Comments (4)

lolxdmainkaisemaanlu avatar lolxdmainkaisemaanlu commented on July 28, 2024

It's working for me...

Also if you just do ' python.exe kohya_gui.py ' that will not run it from a venv... Which can give issues.

from kohya_ss.

healthyfat avatar healthyfat commented on July 28, 2024

What if I would activate venv first?

.\venv\Scripts\activate

Anyway. I guess I am doing something wrong. When I type gui.ps1 in cmd it opens gui.ps1 in text editor.

For some reason .ps1 files were associated to notebook.

But even after association change to powershell I still have to use .\gui.ps1 command to start GUI.

from kohya_ss.

runner22k avatar runner22k commented on July 28, 2024

@lolxdmainkaisemaanlu I am having same problem. How to start the GUI? @healthyfat can you help me?

UPDATE: I figured it out. I should invoke the devil in a slightly different way.

(venv) PS D:\kohya_ss> .\gui.ps1

(venv) PS D:\kohya_ss> gui.ps1
gui.ps1 : The term 'gui.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ gui.ps1
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (gui.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command gui.ps1 was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\gui.ps1". See "get-help about_Command_Precedence" for more details.
(venv) PS D:\kohya_ss>

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

Sorry guys... yeah... .\gui.ps1

I updated the README

from kohya_ss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.