tristandeleu / pytorch-meta

A collection of extensions and data-loaders for few-shot learning & meta-learning in PyTorch
https://tristandeleu.github.io/pytorch-meta/
MIT License
1.98k stars 256 forks source link

A part of the network needs "requires_grad=False" #142

Open sunwoo76 opened 3 years ago

sunwoo76 commented 3 years ago

Hi, your library really help with me. However, I have a question about the parameter update when the parts of the network parameters are set "requires_grad=False"

This makes the error in the function "gradient_update_parameters."

What part should I do fix the error?

Thanks :)