You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleanup of the neural style transfer to reduce memory usage (#1665)
* No need to clone the model, it is used only once
* cleanup use of .data
* Set requires_grad properly to avoid computing un-needed gradients
Co-authored-by: Brian Johnson <[email protected]>
0 commit comments