Closed sudraj2002 closed 2 years ago
Hi, Shouldn't the following section of the code in reptileminiimagenet be `p.grad.data.add(p.data, -l.data)`
https://github.com/learnables/learn2learn/blob/f099ddc9ce0c10cff901ecb1acee2838d171272e/examples/vision/reptile_miniimagenet.py#L140
In the reptile paper they take the difference of the weights of the main network and the adapted network right?
Thanks.
Hi, Shouldn't the following section of the code in reptileminiimagenet be `p.grad.data.add(p.data, -l.data)`
https://github.com/learnables/learn2learn/blob/f099ddc9ce0c10cff901ecb1acee2838d171272e/examples/vision/reptile_miniimagenet.py#L140
In the reptile paper they take the difference of the weights of the main network and the adapted network right?
Thanks.