Skip to content

How to do a full validation loop at iteration 0? #4170

@jonaskohler

Description

@jonaskohler

Hi all

I have two issues with logging in lightning:
First, I would like to run a full validation loop in the beginning to get the validation loss at random initialziation.

Second, I set "log_every_n_steps=100" for the pl.Trainer and would have expected the trainer to log also at initialization 0 but it starts at 100.

Thus, I cannot see how the network behaves at initialization neither on the train nor the validation set. I tried to find a fix in the documentation but didn't succeed.

Any help is highly appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedwon't fixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions