bmaltais / kohya_ss

Apache License 2.0
9.71k stars 1.25k forks source link

i have python 11 but it does not working #2949

Open azamet90 opened 3 weeks ago

azamet90 commented 3 weeks ago

17:28:19-921461 INFO Kohya_ss GUI version: v24.1.7 17:28:19-927968 INFO Python version is 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] 17:28:19-929968 ERROR The current version of python (sys.version_info(major=3, minor=11, micro=0, releaselevel='final', serial=0)) is not appropriate to run Kohya_ss GUI 17:28:19-930968 ERROR The python version needs to be greater or equal to 3.10.9 and less than 3.11.0

ObiLeek commented 2 weeks ago

You'll need to install a Python version that meets the application's requirements, specifically between versions 3.10.9 and 3.11.0 (excluding 3.11.0). So install Python 3.10.9

azamet90 commented 2 weeks ago

You'll need to install a Python version that meets the application's requirements, specifically between versions 3.10.9 and 3.11.0 (excluding 3.11.0). So install Python 3.10.9

i did and also tested after install. if i click to prepare metadata it creates alot of folder with error. it is like it creates endles img folder inside img folder like after 250 folders i see some errors which i dont remember now.

09:12:43-787368 INFO Training images directory is missing... can't perform the required task... 09:13:13-534904 INFO Copy C:/Users/xx/Downloads/train to C:/Users/xx/Downloads/train/lora\img/40_flix person... ... ... ... ... ... RecursionError: maximum recursion depth exceeded while calling a Python object

bmaltais commented 2 weeks ago

Yeah... that function if broken... I have not had time to fix it. If someone want to tackle this and submit a PR I will be happy to merge it in.