pytti-tools / pytti-core

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

Init Mask doesn't like brackets #218

Open bridgebrain opened 2 years ago

bridgebrain commented 2 years 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 2 years 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 2 years ago

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