Your user ID is hardcoded in the app :(

#5
by kayzen-ml - opened

Thanks for the creation of this app! However, I get this error, I guess you hardcoded your user ID in the script:

Traceback (most recent call last):
File "python_coreml_stable_diffusion/torch2coreml_ui.py", line 281, in convert_model
File "python_coreml_stable_diffusion/torch2coreml.py", line 912, in main
File "os.py", line 213, in makedirs
File "os.py", line 213, in makedirs
File "os.py", line 213, in makedirs
File "os.py", line 223, in makedirs
PermissionError: [Errno 13] Permission denied: '/Users/guiye'

Guernika org

@kayzen-ml That definitely looks like a bug on my part, maybe I left something while I was debugging and generated the version with it but I can't find it. I just uploaded a new version that should not have any references to my specific user, hopefully that fixes it but maybe it's something with the PyInstaller packaging.

Did you get asked for an output directory?

Thanks for your quick reply, it's all OK now! I also tried to convert a "special" .ckpt file, with an embed vae, which is made possible by this script : https://gist.github.com/saftle/c5e222c6231e7b19f01bb93ac9fcc191
edit : It also works perfectly. I had to reboot to make it work, surely a cache problem (also happens in the terminal). Thanks for your work!

Guernika org

Nice to hear it's working :) Thanks for the feedback and the update!

GuiyeC changed discussion status to closed

Sign up or log in to comment