MAML-Pytorch
MAML-Pytorch copied to clipboard
create_graph parameter is False hence first-order MAML?
Hi, I noticed that when using torch.autograd.grad
, the implementation does not pass create_graph
parameter which by default is False
. See L#86 and L#116 of the Meta
class. To compute higher-order derivatives, we need to set create_graph=True
otherwise derivatives w.r.t fast_weights
will not flow to the derivatives computation i.e. first-order only. Is it intentional to not set the create_graph
parameter?
It had been discussed in #32. Seems like the author have ignored this repository.....