Solved by nthn_clmnt in post #2 
              
              
                The weights of the VGG are not modified. The only things your optimizer is allowed to change are the parameters you give it as its first argument: in this case all it can change is opt_img.