ๆบ็ ๏ผ
mask = comfy.utils.common_upscale(mask.permute([0,3,1,2]), image_from.shape[2], image_from.shape[1], upscale_method='bicubic', crop='center').permute([0,2,3,1])| ่พๅ ฅๅๆฐ | |
| image_from | ๅฟ ้กปๅๆฐ,ไผ ๅ ฅ่ฆ่ขซ่ฆ็็ๅฐๅบๅพใไธ่ฌไผ ๅ ฅ็บฏ่ฒ่ๆฏๅพ |
| image_to | ๅฟ ้กปๅๆฐ๏ผไผ ๅ ฅ็จๆฅ่ฆ็็ๅๆฏๅพ |
| mask | ๅฟ ้กปๅๆฐ,ไผ ๅ ฅimage_fromๅพ็่ฆ่ขซ่ฆ็็ๅบๅ้ฎ็ฝฉไฟกๆฏ |
| ่พๅบๅๆฐ | |
| IMAGE | ่พๅบๅๆๅ็image |
ๆบ็ ๏ผ
mask = comfy.utils.common_upscale(mask.permute([0,3,1,2]), image_from.shape[2], image_from.shape[1], upscale_method='bicubic', crop='center').permute([0,2,3,1])
ๅฏๅ ๅ ฅ็ฅ่ฏๆ็่ทๅๆๆ็คบไพๅทฅไฝๆต

ๅพฎไฟกๆซ็ ๅ ฅ็พค๏ผๅ ๅ ฅAIGCๅคงๅฎถๅบญ๏ผไธๅคงๅฎถไธ่ตทไบคๆตๅญฆไน