auto_lr_find gives error (NameError: name 'trainer' is not defined) #13330
Replies: 2 comments 5 replies
-
@lyndonlauder Could you please provide your env detail and full error message? You can use this template here: https://github.com/Lightning-AI/lightning/blob/master/.github/ISSUE_TEMPLATE/bug_report.md |
Beta Was this translation helpful? Give feedback.
-
Thank you @akihironitta here it what you asked for To Reproduce: trainer.tune(model) Full error: NameError Traceback (most recent call last) NameError: name 'trainer' is not defined |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions