pytti-tools / pytti-core

https://pytti-tools.github.io/pytti-book/intro.html
MIT License
78 stars 23 forks source link

Init Mask doesn't like brackets #218

Open bridgebrain opened 1 year ago

bridgebrain commented 1 year ago

Using an init image with a mask is different than other usage for unexplainable reasons. Either it should be noted in the documentation or fixed.

The syntax: init_image: Futuristic/techdeco.png direct_initweight:1[Futuristic/techdecomask.png]

throws a "cannot find file" error, but

init_image: Futuristic/techdeco.png direct_init_weight:1_Futuristic/techdecomask.png does not

Further update: Does not function like I expected it to. Not sure if this is a problem with my expectations, or whether the latter option isn't actually loading a mask

dmarx commented 1 year ago

or whether the latter option isn't actually loading a mask

I think that's entirely possible and it's instead being interpreted as a text prompt. I never played with the masking features much so it would not surprise me if there was something broken in that machinery that had gone under my radar. will look into this, thanks!

dmarx commented 1 year ago

https://discord.com/channels/869630568818696202/869675528494391307/998350737379700747