Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting low accuracy in Avocado #13

Closed
divya9118 opened this issue Feb 8, 2024 · 3 comments
Closed

getting low accuracy in Avocado #13

divya9118 opened this issue Feb 8, 2024 · 3 comments

Comments

@divya9118
Copy link

divya9118 commented Feb 8, 2024

I followed the same steps to train model, didnt made any changes. But I am getting 0.9 to 1 training accuracy but test accuracy is about 0.25 for Avocado. Can you explain why is it so. And how can I solve this problem.

@leonvarga
Copy link
Collaborator

Low test accuracy means your model is overfitting. Please check the training procedure and monitor the training / validation loss. Depending on the used library version, the training procedure can differ. Also, a different batch size or the usage of multiple GPUs require adaptations of the training.

@divya9118
Copy link
Author

see for all other categories, accuracy is approx same as given in research paper. The problem persist only while training Avacado for VIS camera type(in both ripeness and firmness category). Even SVM and KNN are also having low accuracy for Avacodo (VIS type). It seems like there is some issue with VIS data for Avocado.

@leonvarga
Copy link
Collaborator

Hi,

sorry, without your whole setup, it is really hard to check where this error is coming from.

The avocado recordings were used for a couple of other works, like https://github.com/cogsys-tuebingen/hsi_benchmark, and we did not experience any errors.

You can check which samples are not correctly classified and try to check whether you see some pattern. Still, it seems your training is overfitting.

Especially, the avocado VIS training should be really stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants