Skip to content

how to get the best LR #84

@ardeal

Description

@ardeal

Hi,
I run the following code and got the following picture.
I am wondering what the best LR is in my picture?
how to print/display the best LR in the code?

      finding_lr = lr_finder.LRFinder(net.model, optimizer, criterion, device="cpu")

        finding_lr.range_test(train_loader, start_lr=0.0001, end_lr=0.1, num_iter=1000, step_mode="exp")
    
        finding_lr.plot(savefig_path=os.path.join(args.output_dir, 'lr_finder.png'))

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions