DeepCrack icon indicating copy to clipboard operation
DeepCrack copied to clipboard

err when calculate loss in val_op in trainer

Open moxx799 opened this issue 3 years ago • 0 comments

hi,

I saw a error in val_op when calculate the loss, you take loss devided by cfg.train_batch_size(which is defined as 8 in cfg), but this step is calculate the validation set, so it must be devided by cfg.val_batch_size.

moxx799 avatar Mar 04 '22 20:03 moxx799