Comments (2)
I have the same problem. I was able to solve it by making some changes to the 'kohya_ss/library/common_gui.py' file. I modified the 'output_message' function on line 97 as follows:
def output_message(msg='', title='', headless=False):
if headless:
log.info(msg)
else:
#msgbox(msg=msg, title=title)
log.info(f"title: {title}, message: {msg}")
This should temporarily bypass the error.
EDIT (short explanation):
The error "RuntimeError: main thread is not in main loop" occurs because tkinter operations, such as creating or modifying GUI elements, must be executed in the main thread of the application. In this case, the error arises because a tkinter function is being called from a background thread, which is not allowed by tkinter's threading model.
from kohya_ss.
Many thanks!
In the meantime I had solved it by uninstalling Pinokio and installing the various stand-alone versions of the AI apps used.
But I wasn't very enthusiastic about this solution because for each application I had to install different versions of phyton, additional apps, creating messes in the folders, taking up many extra GBs.
So I'm going to try this solution and go back to using Pinokio, I find it more organised and immediate to use a single app that contains everything I use.
Thanks
from kohya_ss.
Related Issues (20)
- how do you turn off TE learning in Lora Module? HOT 5
- Training is constantly failing to start HOT 3
- Lora AdamW8bit Learning Rate seems to have changed HOT 1
- Error message on Paperspace when start training SDXL Lora
- To modify sample prompts during training, edit the prompt.txt file in the samples directory. HOT 5
- [error] - module not found - tk and global_state HOT 1
- PermissionError: [Errno 13] Permission denied: '' HOT 2
- Postfix to add to WD14 caption no longer available HOT 1
- Trouble with TensorRT... can't be found, though it is installed (Kubuntu 24.04) HOT 2
- AttributeError: 'DistributedDataParallel' object has no attribute 'text_model'
- Nothing pops up when I click start training
- when loading saved Preset, Learning Rate always auto-fills HOT 4
- how to use Accelerate Lora tab to select which gpu ID to use HOT 10
- Docker Container Approach -- Permission issues for generating BLIP captioning HOT 3
- RuntimeError: The size of tensor a (8) must match the size of tensor b (6) at non-singleton dimension 3 HOT 2
- Conflict between venv configuration and conda in Linux environment HOT 1
- LORA training does not start, it keeps crashing - W socket.cpp:663] [c10d] The client socket has failed to connect to [DESKTOP-413GD2B]:12345 HOT 4
- No AVX CPU (former mining rig) - workaround (?) HOT 4
- Cannot use sdxl fine tune HOT 2
- Error with accelerate site package - unknown keys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.