qinnzou / DeepCrack

DeepCrack: Learning Hierarchical Convolutional Features for Crack Detection
253 stars 60 forks source link

Sigmoid Function #27

Open tamimdnan6240 opened 1 year ago

tamimdnan6240 commented 1 year ago

Hi, If you want to use the sigmoid activation function in the last layer you should use this to the model.py what is the purpose of using torch. sigmoid in every layer in the training and validation loop? I removed visdom and fit this model just as other CNN models like UNet. so, I also didn't understand of the code in the screenshot. Can you please explain this?

image