Dzmitry Pranchuk

Results 7 comments of Dzmitry Pranchuk

pretrained DPN on pytorch https://github.com/rwightman/pytorch-dpn-pretrained

dpn68 180-180 val_accuracy ![image](https://user-images.githubusercontent.com/8936357/31687221-4f542a04-b391-11e7-8a9d-813677e0346d.png) val loss ![image](https://user-images.githubusercontent.com/8936357/31687253-64b9a6bc-b391-11e7-8bff-892b4ced4de4.png) at the step ~40k learning rate was increased in attempting to push out training process from plateau

@asomoza Hi, I don't understand why inpainting region should have the same size as initial image. For example, if I have 2k X 4k image and want to inpaint only...

> For this to work and to match the positions of the original image and the "paste back" generated image, you need to use a mask that is the same...

Ok, we have following signature for the `apply_overlay` method: ``` def apply_overlay( self, mask: PIL.Image.Image, init_image: PIL.Image.Image, image: PIL.Image.Image, crop_coords: Optional[Tuple[int, int, int, int]] = None, ) -> PIL.Image.Image: ```...

When we inpaint with `padding_mask_crop` the generated area is not white area but smth like this: ![mask](https://github.com/user-attachments/assets/875ba43b-7412-4809-af88-8b2a43cededa) From the official doc: > padding_mask_crop (int, optional, defaults to None) — The...

Yes, I think it could be a great feature for the inpainting pipeline. However, I believe that `image_processor.apply_overlay` lacks sufficient documentation, making it difficult to understand how it's supposed to...