Talented-Q / POSTER_V2

MIT License
112 stars 20 forks source link

Key Error: 'best_acc' #16

Closed Vishal2188 closed 1 year ago

Vishal2188 commented 1 year ago

I retrain the model with CAER dataset. During training, the validation accuracy is being calculated and achieved around 92.7 which is similar to given in paper.

However, when I use test command, gave data and evaluate detail, then I obtain following error:

Key Error: 'best_acc'.

I didn't make any changes in current codebase. Can you please check this?

Talented-Q commented 1 year ago

image

Thank you for your interest in this work, we suspect that a possible reason for this error is that best_acc is not saved in checkpoint. We looked closely at the code and best_acc is indeed saved to the checkpoint. However, this does not prevent you from testing. You can comment out the highlighted areas of the diagram during the test and the test will work fine. I hope this recommendation will be of assistance to you.

Vishal2188 commented 1 year ago

Yes, it works. Thanks for the quick response.