zideliu/StyleDrop-PyTorch

the path and effect issues of style_adapter

chenkai-666 opened this issue · 2 comments

hi,
I followed the instructions to place the weight of style_adapter under the path of style_adapter
image
but the corresponding weight name is not displayed on the gradio page
image
Then I changed the folder structure and placed corresponding weights in each folder, naming it adapter.pth
image
image
image
At this point, I read about the model weights, but the effect is completely different, as if it doesn't work at all.
image
How can I fix this problem……

Sorry, is my fault, just edit style_postfix in here

style_postfix ={
    "None":"",
    "0102":" in watercolor painting style",
    "0103":" in watercolor painting style",
    "0106":" in line drawing style",
    "0108":" in oil painting style",
    "0301":" in 3d rendering style",
    "0305":" in kid crayon drawing style",
}
image

Thanks. It works!