Open skedgyedgy opened 2 years ago
Huh, that's weird. Not to be cliche, but I just tested and It Works On My Machine ™️, and I can confirm that it is supposed to generate the trained_model folder and everything inside for you.
What you're seeing are the error messages for if you had run main.py
just normally without training a model first. So that leads me to believe that it's not picking up your arguments for whatever reason. This is kinda dumb, but are you running main.py --train
or python main.py --train
verbatim in your console? Try python main.py --train
because that's what I always do. Could also just try commenting out all the if
s and leaving only the code under elif args.train
intact. Additionally, this could be a weird shell/cli issue, and if you're on Windows, training unfortunately probably won't work anyway for unrelated reasons. Library's issue, not mine.
All else fails, you can always train it in colab, or if you don't want to do that I'd be willing to train it for you sometime on my 3060.
-- this might also just be me messing something up but as i'm following the tutorial i keep getting this error when i run
main.py --train