nicolai256 / Stable-textual-inversion_win

MIT License
241 stars 43 forks source link

name 'path' is not defined #16

Closed LaikaSa closed 1 year ago

LaikaSa commented 1 year ago

When I run the third step on google colab it gave me this: Untitled I already tried to add ''from pathlib import Path'' on top but no luck, still the same error

nicolai256 commented 1 year ago

try putting the dirs = os.listdir(path) thing under path=path_to_input_images

LaikaSa commented 1 year ago

That did the trick but a new error appeared: image However, I got another version of your notebook that worked: https://colab.research.google.com/drive/1bnPJzT-dN0DUR50Z3GwtMtTKLm03o2c1?usp=sharing&authuser=5#scrollTo=WHlruknRbsHJ The one with errors is on GitHub, did you forget to update the link to the latest version?

LaikaSa commented 1 year ago

nvm just delete that line will do the trick