nicolai256 / Stable-textual-inversion_win

MIT License
241 stars 43 forks source link

images directory is not being created during training #5

Open rickyars opened 1 year ago

rickyars commented 1 year ago

this results in an error:

File "/content/Stable-textual-inversion_win/main.py", line 371, in log_local
    base_counter = len(os.listdir(root)) 
FileNotFoundError: [Errno 2] No such file or directory: 'logs/grifters2022-08-24T23-07-37_grifters/images/train'
nicolai256 commented 1 year ago

this results in an error:

File "/content/Stable-textual-inversion_win/main.py", line 371, in log_local
    base_counter = len(os.listdir(root)) 
FileNotFoundError: [Errno 2] No such file or directory: 'logs/grifters2022-08-24T23-07-37_grifters/images/train'

i'm sorry that was a misupload, please redownload the main.py file and it will work haha

rickyars commented 1 year ago

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

nicolai256 commented 1 year ago

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

huh, are you sure? i just canceled my training and for me it saved it. did u spampress ctl+c ?

rickyars commented 1 year ago

i think i hit stop too many times. the first press seems to kill the process and start the saving process.

nicolai256 commented 1 year ago

ARGRGRGRGH! I just killed a run and it didn't save my checkpoint!! hours of training just gone and the results were looking pretty good. i'm super bummed.

the model will save every 500 steps now :)