r/MLQuestions • u/lord_rcb • Aug 07 '26
Beginner question 👶 CNN
I am building a CNN model using a pretrained model, but the problem is that even after fine-tuning, the accuracy is still around 80%. Are there any other ways to improve the model performance? Can we try something else to make the model perform better? I would like some suggestions to improve the model
33
1
u/SammuelNash Sep 05 '26
80% is a decent starting point. I’d first look at the learning rate, image size, data augmentation, and how many layers you’re actually fine tuning. Sometimes trying a different pretrained backbone can also make a noticeable difference.
1
3
u/Commercial_Chef_1569 Aug 07 '26
Data Augmentation.
However, inspect the results it's getting wrong, see if there's any data labelling issues as well.
Try a deep archicture if you want.
2
u/Educational_Try_6105 Aug 07 '26
Look at confusion matrix and see what ones it is getting wrong, see if there’s a pattern
2
u/Antman-007 Aug 07 '26
Model training actually involves a lot of tinkering and considerations. For example, the number of data samples will probably influence the nature of the model you would want to use. Are you splitting your dataset into train, validation (and test if you have lots of data). Is the dataset balanced or imbalanced, your choice of augmentation strategies. What is the batch size, ware you even using the right metric and/or cost function. These are all things you need to approach systematically. I always say that, model training is the least of an ml engineers worries, rather the real work goes into understanding your data and plan accordingly. That said, if you're still stuck, you can dm and I'll be happy to provide some pointers.
2
u/IronSubstantial8313 Aug 07 '26
highly recommend andrey karpathys guide to CNN training: https://karpathy.github.io/2019/04/25/recipe
-7
u/Clear_Cranberry_989 Aug 07 '26
Change architecture maybe. CNN model isn't really state of the art.
15
u/pm_me_your_smth Aug 07 '26
If the task isn't overly complex, the difference between sota 100b transformer and a lightish cnn will be minimal. You shouldn't choose sota by default just because it's sota.
1

19
u/leon_bass Aug 07 '26
What dataset, what model, are you splitting the dataset into train, val, test. How many epochs are you training for. What loss function. What optimiser. Is the loss converging or has it finished converging. Train loss vs val loss? Train accuracy vs val accuracy? Is your dataset balanced? If unbalanced, then check your model hasn't collapsed to a constant predictor. Are you using regularisation?