Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no defined parameter learnable_per_layer_per_step_inner_loop_learning_rate #38

Open
laiyongkui1997 opened this issue Dec 23, 2020 · 0 comments

Comments

@laiyongkui1997
Copy link

Hi, AntreasAntoniou, thanks for your great job. But I have some confusion when reading the code.

In LSLRGradientDescentLearningRule Module, it need the parameter called use_learnable_learning_rates, but when instantiate the Module in few_shot_learning_system.py/MAMLFewShotClassifier, the parameter use_learnable_learning_rates is passed by self.args.learnable_per_layer_per_step_inner_loop_learning_rate which is not defined.

So I want to know how it works. The parameter use_learnable_learning_rates is used in torch.nn.Parameter(data, requires_grad=use_learnable_learning_rates), which can not be None.

If I need to define the learnable_per_layer_per_step_inner_loop_learning_rate, it is a boolean value or a list of boolean value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant