zideliu / StyleDrop-PyTorch

Unoffical implement for [StyleDrop](https://arxiv.org/abs/2306.00983)
MIT License
567 stars 27 forks source link

the path and effect issues of style_adapter #19

Closed chenkai-666 closed 1 year ago

chenkai-666 commented 1 year ago

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……

zideliu commented 1 year ago

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
chenkai-666 commented 1 year ago

Thanks. It works!