where \(\phi _{hrf}\)  indicates a pre-trained segmentation ResNet50 with dilated convolutions.
As discussed in [1]}, using HRF loss instead of the perceptual loss can improve the quality of the inpainting model. The final loss of our model in the incremental training can be written as
\(\small \begin{split}\hspace{0.0pt}\mathcal {L}_{final}=&\lambda _{L1}\mathcal {L}_{L1}+\lambda _{adv}\mathcal {L}_{adv}+\lambda _{fm}\mathcal {L}_{fm}+\lambda _{hrf}\mathcal {L}_{hrf},\end{split}\) 
