Closed softyoda closed 2 years ago
You are trying to run PRDGUI inside of the PRS environment/repo. They are two different diffusion models.
prsgui.py for ProgRock-Stable, prdgui.py for ProgrockDiffusion.
Oh, you're right, I just followed the tutorial in the readme.md without noticing there were two .py for progrock diffusion and stable.
I've tried to execute the prsgui.py and now I have the following error :
(prs) C:\Users\intel\Desktop\StableDiffusion\progrock-stable\prs>python visualdiffusion\prsgui.py
Traceback (most recent call last):
File "visualdiffusion\prsgui.py", line 694, in <module>
set_variables()
File "visualdiffusion\prsgui.py", line 111, in set_variables
method = json_set.method
AttributeError: 'types.SimpleNamespace' object has no attribute 'method'
Delete gui_settings.json
On Sun, Sep 4, 2022, 5:07 PM amcgi @.***> wrote:
Oh, you're right, I just followed the tutorial in the readme.md without noticing there were two .py for progrock diffusion and stable.
I've tried to execute the prsgui.py and now I have the following error :
(prs) C:\Users\intel\Desktop\StableDiffusion\progrock-stable\prs>python visualdiffusion\prsgui.py Traceback (most recent call last): File "visualdiffusion\prsgui.py", line 694, in
set_variables() File "visualdiffusion\prsgui.py", line 111, in set_variables method = json_set.method AttributeError: 'types.SimpleNamespace' object has no attribute 'method' — Reply to this email directly, view it on GitHub https://github.com/KnoBuddy/VisualDiffusion/issues/15#issuecomment-1236442588, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJS53BMFSDP4SONX5Q6YULV4U2TLANCNFSM6AAAAAAQERASHU . You are receiving this because you were assigned.Message ID: @.***>
I don't have any gui_settings.json inside the prs directory and any other sub-directory.
Delete line 111 of prsgui.py. method = json_set.method
I think I left an extra line in there that shouldn't be. I'm on mobile and I'll push the change when I get home if that fixes it.
Yep, it was that, I deleted the line 111 ( method = json_set.method
) and now it work ! Thanks !
Describe the bug First install of VisualDiffusion inside of prs up to date repo I can't run the prdgui.py
Error :
Desktop :
Additional context First run of the program, i just git-pulled prs and VisualDiffusion inside the prs folder, i'm in the conda environment for prs.