You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the forward method you currently say nbatches = query.size(0), but this appears to actually be the batch size, not the total number of batches the network is trained for.
I don't know if some people use this nomenclature differently, but I think renaming the variable to batch_size would be a bit more clear.
The text was updated successfully, but these errors were encountered:
In the forward method you currently say
nbatches = query.size(0)
, but this appears to actually be the batch size, not the total number of batches the network is trained for.I don't know if some people use this nomenclature differently, but I think renaming the variable to
batch_size
would be a bit more clear.The text was updated successfully, but these errors were encountered: