DeepCrack
DeepCrack copied to clipboard
err when calculate loss in val_op in trainer
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.