Skip to content

MAML is expecting more parameters than being passed #41

@AnirudhM1

Description

@AnirudhM1

jeta/jeta/maml.py

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_adapt is passed as a parameter to OptiTrainer as adapt_fn

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions