Inversion identities for inhomogeneous face models