Giter Club home page Giter Club logo

Comments (4)

bmaltais avatar bmaltais commented on July 28, 2024

Short answer... I don't really use a python debug mode... I just run the command through the GUI and look at any tracefiles... If you run them outside the GUI the internal environment variables and path that are set will not properly apply and result in what you are observing...

from kohya_ss.

jaycecd avatar jaycecd commented on July 28, 2024

Wow, that's impressive! You managed to write such a large project without using an IDE for debugging!

I have the following two questions for you:

1.Could you please clarify what you mean by tracefiles? Are they the log information generated by the terminal?

2.When you mention GUI, are you referring to pages in the browser or to the command-line terminal generated by double-clicking gui.bat?

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

Hi,

I should have said traceback output when something crash while running the python code. This is usually what I go by to track the source of the issue. I do use an IDE (VSCode) but I have never used the debug python feature while troubleshooting... Perhaps I need to read more about it and see if I could get more productive using that.

When I mention GUI I mean the actual web interface used to enter the training parameters and the resulting script call used to run the sd-scripts from kohya_ss. Double-clicking the gui.bat will start the GUI.

from kohya_ss.

jaycecd avatar jaycecd commented on July 28, 2024

Thank you very much for your explanation. I understand it roughly, which makes me think you are really awesome!

The reason I use the debug feature of IDEs (such as VS Code) is that it allows me to clearly see the value of any variable, whether it's local or global, at any line of code during the current execution state:

image

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.