cryptedp
cryptedp
Is there a way to provide images with masked regions ? Meaning images where some part is already masked white and this region is then inpainted ? Or does the...
Yes I know but is there is no way to input images with already masked regions ?
Okay @NerminSalem I think it's better if I make another issue out of my concern
@Nermin do you want to reposition your mask, so that it is not in the center ?
Do you mean something like that ? 
Yes that was just shifting the center but still using the inpaintcenter model in the demo code. But for shifting you can change the coordinates of `local real_center = real_ctx[{{},{},{1...
@Kareem-94 I changed the coordinates of `real_center = image_ctx[{{},{},{1 + inputSize/4, inputSize/2 + inputSize/4},{1 + inputSize/4, inputSize/2 + inputSize/4}}]:clone() ` to `real_center = image_ctx[{{},{},{1 , inputSize/2 },{1 , inputSize/2 }}]:clone()`...
Yes, it was quite a hack actually. We detected the objects and modified the image, such that the object is in the middle and then we called inpaint_center to inpaint...
Hi @pathak22 , how can one train it on imagenet and how long would it take ?