-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subfolders name issue in Linux pod #406
Comments
Can you paste the full command being run? This look like the subfolder name is not being read properly... Try adding |
Ok I will do that, just need two hour to get in my computer and I will send the full error |
Hopefully that |
Hi, a question in print(folder) do you mean that i have to copy there the path of an specific folder or just leave it like that? Here is the longer traceback of that issue Folder 15_sks: 30 steps |
well i tried just writing "repeats = 5" but it generates a billion of other errors, i just think that this cant be run in services like vast.ia that uses a jupyter UI. Im gonna try again in a Linux Desktop Template that has a normal computer interface. Folder 15_sks: 2 images found |
Just ran into this issue as well as, as it turns out, there was a folder called Using This is what was making Maybe it's a good idea to ignore hidden folders ? There are systems that generate hidden folders for various reasons which should maybe be ignored for deducing the number of repeats. |
@Norian11 as for your second error, which I also ran into afterwards, it seems in some Docker containers, some dependencies are missing, suggested by the I ran |
This is a good idea... I will add a check for hidden folder and ignore... I bet someone will eventually complain but I thing more users will benefit from it ;-) |
I have pushed the fix to the dev branch. |
There is still an issue I'm encountering on my instance over which I haven't been able to get over yet, but I'm gonna open another issue since it's unrelated to this |
I haven't tried it yet, I will launch it today but by the comments it seems solved. Thank you so much guys for your solution now we can finally run in without paying that much for Collab, thanks for your work! |
How can I ignore hidden folders?? Did you find right way? |
Well I'm in a Linux pod and I launched the UI but when i clic in Train it always sends me an error saying that the folder dataset name is wrong, but it seems all normal, someone knows why happens?. My dataset subfolder is 15_sks but it creates the next error:
File "/workspace/kohya_ss/lora_gui.py", line 407, in train_model
repeats = int(folder.split('_')[0])
ValueError: invalid literal for int() with base 10: '.ipynb
I think it should be okay to erase things and write "repeats = 5" I'm not sure if that would cause other errors but I will try.
By the way, I was looking in the code the part where it defines the instance-token and class-token based on the subfolder name and I didn't find that, does the name no matter anymore or someone knows where I can find that part of the code too?
The text was updated successfully, but these errors were encountered: