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
I would like to optimize a Pytorch neural network with Nevergrad. How can I tell Nevergrad to optimize all parameters in the module that require grad (e.g., params_to_optimize = filter(lambda p: p.requires_grad, model.parameters()))?
The text was updated successfully, but these errors were encountered:
I think we need something for conveniently optimizing a subset of a model parameters.
I do it everyday, but manually each time.
A convenient interface with Pytorch models would be great.
I will investigate. This will take some time though.
I would like to optimize a Pytorch neural network with Nevergrad. How can I tell Nevergrad to optimize all parameters in the module that require grad (e.g.,
params_to_optimize = filter(lambda p: p.requires_grad, model.parameters())
)?The text was updated successfully, but these errors were encountered: