Instance-Shadow-Diffusion
Instance-Shadow-Diffusion copied to clipboard
Pre training
How to implement the pre training process? The loss in the code seems to only be the diffusion loss, but as described in the article, there needs to be a feature encoder's feature loss.
Hi @dezle13 , the feature encode is trained with the diffusion loss directly and it is optimized in the first stage and frozen in the second stage.