CNN-Image-Classifier
CNN-Image-Classifier copied to clipboard
training error
Epoch 1/20
31/31 [==============================] - 198s 6s/step - loss: 5.4380 - acc: 0.0806 - val_loss: 2.9033 - val_acc: 0.1187
Traceback (most recent call last):
File "train1.py", line 125, in
I solved it. just replace Histogram_freq =0 instead Histogram_freq = 10 or 1
If I see your code I can help you
how can we understand without your code. we have to see your code. copy and past here your code then which error you got. than easy to find problem
outputs are not showing correct.... sometimes only tp,TN shown and sometimes only fn,fp not altogether
On 10 May 2018 at 20:23, RAMIREDDYDEVARAM [email protected] wrote:
how can we understand without your code. we have to see your code. copy and past here your code then which error you got. than easy to find problem
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tatsuyah/CNN-Image-Classifier/issues/3#issuecomment-388078067, or mute the thread https://github.com/notifications/unsubscribe-auth/AiYGvkLUpiqRyzTUTA7QmtpY2ZVZOtjnks5txFR0gaJpZM4Tzrna .
@RAMIREDDYDEVARAM I am able to run the test file but my predict file is not giving output
True Positive AD: 0
True Negative AD: 0
False Positive Normal: 0
False Negative Normal: 0
Traceback (most recent call last):
File "predict-binary.py", line 62, in
same problem is mine.
On 23 May 2018 at 21:54, czainab [email protected] wrote:
@RAMIREDDYDEVARAM https://github.com/RAMIREDDYDEVARAM I am able to run the test file but my predict file is not giving output True Positive AD: 0 True Negative AD: 0 False Positive Normal: 0 False Negative Normal: 0 Traceback (most recent call last): File "predict-binary.py", line 62, in precision = tp / (tp + fp) ZeroDivisionError: division by zero Infact I had trained my model and save it and it's giving accuracy around 97%
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tatsuyah/CNN-Image-Classifier/issues/3#issuecomment-391410372, or mute the thread https://github.com/notifications/unsubscribe-auth/AiYGvlTC9rG_xcZQnQfhnnDtlMo_w5LWks5t1Y0pgaJpZM4Tzrna .
Are you able to solve this problem?
Sent from Yahoo Mail on Android
On Thu, 24 May, 2018 at 9:00 AM, sunaina123[email protected] wrote: same problem is mine.
On 23 May 2018 at 21:54, czainab [email protected] wrote:
@RAMIREDDYDEVARAM https://github.com/RAMIREDDYDEVARAM I am able to run the test file but my predict file is not giving output True Positive AD: 0 True Negative AD: 0 False Positive Normal: 0 False Negative Normal: 0 Traceback (most recent call last): File "predict-binary.py", line 62, in precision = tp / (tp + fp) ZeroDivisionError: division by zero Infact I had trained my model and save it and it's giving accuracy around 97%
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tatsuyah/CNN-Image-Classifier/issues/3#issuecomment-391410372, or mute the thread https://github.com/notifications/unsubscribe-auth/AiYGvlTC9rG_xcZQnQfhnnDtlMo_w5LWks5t1Y0pgaJpZM4Tzrna .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.