Skip to content

I think there is some error when update_weights_func #2

@nustart0720

Description

@nustart0720

When self.update_weights_func(effective_batch_loss), should we do like this?
`
self.optimizer.zero_grad()

self.update_weights_func(effective_batch_loss)

self.optimizer.step()
`

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