-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Lines 14 to 15 in e55bf83
| maml_lr: Float, | |
| fas: Integer, |
The above lines cause an error while running MAML using OptiTrainer
OptiTrainer calls the function maml_adapt and it's parameters are passed in OptiTrainer itself.
Note:
maml_adaptis passed as a parameter toOptiTrainerasadapt_fn
Line 145 in e55bf83
theta = adapt_fn(params, apply_fn, loss_fn, support_set)
An error is being thrown because maml_adapt expects the above 2 arguments which are not being passed.
fas can be included into OptiTrainer as this parameter is common across many Optimization based approaches, but maml_lr can't be included as it is specific to only MAML.
Hence a different approach must be used to allow it as a parameter.
Metadata
Metadata
Assignees
Labels
No labels