Hi, there!
I argued with my friends whether it was necessay to keep the gradents of VGG net to obtain the perceptual loss.
loss_total = loss_net + loss_vgg.
I thought there was no use to update the parameters of the VGG net, so there was no reason to keep the gradients.
Any suggestions? Thank you!