lijunwei19 / CNN-matlab-covid-9-x-ray

1 stars 2 forks source link

Bug in relu_prime? #1

Open bremen79 opened 4 years ago

bremen79 commented 4 years ago

Hi, the subgradient of the relu is 0 or 1, while it seems that you are returning 0 or the input itself. A bug?

lijunwei19 commented 4 years ago

yes, I am wrong, I had changed the Relu derivative function. 0 or 1. thanks