Skip to content

In Manual Optimization mode, loss does not converge when the Train Batch Size is 1 #14526

Discussion options

You must be logged in to vote

@OPilgrim Your training_step looks good to me.

However, please note that your logged value "train/loss" is being logged regardless of whether the weights are being updated in the iteration, which will make it look like a convergence issue.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@OPilgrim
Comment options

Answer selected by akihironitta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment