DeepCrack icon indicating copy to clipboard operation
DeepCrack copied to clipboard

Questions about calculating accuracy in training

Open plastictime opened this issue 3 years ago • 0 comments

In the paper, it is mentioned that adding a sigmoid to the feature map output by the network can convert the feature map into a crack prediction graph. Then I looked at the code. The calculation of loss uses BCEWithLogitsLoss, that is, the network output is added to the sigmoid operation and then calculated. The visualisation also puts the output after the sigmoid operation as a prediction graph. However, when the accuracy is calculated, the output of the network was not processed with sigmoid. What's the reason?

plastictime avatar Apr 21 '22 12:04 plastictime