Skip to content

auto_lr_find gives error (NameError: name 'trainer' is not defined) #13329

@lyndonlauder

Description

@lyndonlauder

Hi i am trying to use lightning auto_lr_find, i use the command trainer.tune(model) and it gives me this error

NameError: name 'trainer' is not defined

Here is the model code and link

https://github.com/kuielab/mdx-net/blob/main/src/models/mdxnet.py
https://github.com/kuielab/mdx-net/blob/8e0476f29f330e2fe31cbb2833737ad0b2df7ad0/src/utils/utils.py

Please do you have any advice for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwaiting on authorWaiting on user action, correction, or update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions