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
I am try to use BCECriterion with weights parameter, but the function interface seems weird for me.
Is any reason we keep weights vector instead of just single weight for true label? I can't figure out what does it mean since we generally do not discriminate data for the index on a mini-batch.
The real problem is, at the end of the training or validation, The size of batch become # of items % batchSize, which is not equal to batchSize.
Do I understand correctly on this issue? Is there any way to mitigate this problem?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello,
I am try to use BCECriterion with weights parameter, but the function interface seems weird for me.
Is any reason we keep weights vector instead of just single weight for true label? I can't figure out what does it mean since we generally do not discriminate data for the index on a mini-batch.
The real problem is, at the end of the training or validation, The size of batch become # of items % batchSize, which is not equal to batchSize.
Do I understand correctly on this issue? Is there any way to mitigate this problem?
Thanks.
The text was updated successfully, but these errors were encountered: