Aimeri Baddouh
Aimeri Baddouh
I thought the goal was to inpaint the largest face, right? This will detect the largest, no matter the position. If you want only the first found face, then you...
So, for this scenario: use your regular `` (no index), but in the params, go to regional prompting, turn on Segmentation Ordering, and select "largest-smallest", and run your generation. What...
I think I mentioned in the closed issue, but my code only returns the first match. There's room for improving on that exact scenario. I figured that implementing just first...
I'm not sure when smallest to largest would be helpful, but it made sense to add it as an inverse. Depending on the model you use, it might detect a...
Oh! I will fix that right away! Good catch!
It should, but I will test it while I'm fixing the other error you found
Basically, we already did ordering before, just always left-right, so using index 1 with only one face found would return that face
@FurkanGozukara what was the specific segment command you used in the prompt that generated that error? I see you used the segmentationordering: "largest-smallest" so I'm trying with that too, but...
Thank you! I was able to reproduce this error. I've pushed a new commit that should account for the error you were finding. Can you check both scenarios you described...
@FurkanGozukara I'll work on finishing with the feedback and submit a PR at some point tonight or tomorrow morning at the latest. Sorry about the delay.