ooooverflow / BiSeNet

BiSeNet based on pytorch
394 stars 77 forks source link

pixel accuracy calculation algorithm is Wrong! #13

Closed FENGShuanglang closed 5 years ago

FENGShuanglang commented 5 years ago

pred and label both are 3 channel,so why do you directly flatten() them?

ooooverflow commented 5 years ago

Yes, you are right. Thanks for reminding. Just put the compute_global_accuracy before transforming one-hot array to RBG array would be all right

REFunction commented 5 years ago

Yes, you are right. Thanks for reminding. Just put the compute_global_accuracy before transforming one-hot array to RBG array would be all right

Have you already update this code about the problem

ooooverflow commented 5 years ago

@REFunction Hi, I have already update the new calculation code of pixel acc