SaliencyMapper icon indicating copy to clipboard operation
SaliencyMapper copied to clipboard

Accuracy remain 0 when training the classifier

Open plasmashen opened this issue 6 years ago • 6 comments

I run the train_classifier but the accuracy remains 0 all the time although the loss is decreasing. What's the problem here?

plasmashen avatar Jan 21 '19 18:01 plasmashen

Hmm, that's weird. You mean the accuracy that is logged on the terminal. There might be a error calculating the accuracy. Can you play around with it and see what value it is outputting ?

It is training, there might be a small error in the calculation of the accuracy.

Thanks !

karanchahal avatar Jan 22 '19 05:01 karanchahal

@plasmashen @karanchahal the same problem for me, how can I solve it ?Thanks

muzi-8 avatar Jul 25 '19 09:07 muzi-8

i met the same problem ,it seems the code has not use the output of the train_classification,it is puzzled

miss1997yuan avatar Oct 14 '19 08:10 miss1997yuan

i have solved the problem

miss1997yuan avatar Oct 14 '19 11:10 miss1997yuan

Can you send a pull request to fix it ? It would be really great if you could do that.

Thank you so much.

On Mon, Oct 14, 2019, 07:13 zhiyuan [email protected] wrote:

i have solved the problem

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/karanchahal/SaliencyMapper/issues/1?email_source=notifications&email_token=ADEXT7VN7ORHAM3BAW6GQT3QORH4VA5CNFSM4GRNHOJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBEG2SQ#issuecomment-541617482, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEXT7XXCXKSX4B4XL757HTQORH4VANCNFSM4GRNHOJQ .

karanchahal avatar Oct 14 '19 20:10 karanchahal

ok

miss1997yuan avatar Oct 15 '19 02:10 miss1997yuan