What happens if I pass a class attribute into wandb.log()?
less than a minute
Avoid passing class attributes into wandb.log()
. Attributes may change before the network call executes. When storing metrics as class attributes, use a deep copy to ensure the logged metric matches the attribute’s value at the time of the wandb.log()
call.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.