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

Adding a CNN-based classifier for the task of entries/other classification #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

iamgroot42
Copy link

Addresses issue #2

I've implemented a small, basic CNN for this task of classification. Images have been resized to a convenient shape, with their colors stripped off. I've added measures to take care of the small amount of data as well as the variations in it; using batch normalization, low learning rates.

In addition to this, I've also used a class-balanced error while training (to account for the class imbalance).
Using the classifier at my end, I achieved a test accuracy of 86.55% and no over-fitting.

model.add(Activation('relu'))
model.add(Conv2D(32, (3, 3)))
model.add(BatchNormalization())
model.add(Activation('relu'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is indentation change not causing Python to vomit?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh well. Not sure how I missed it :(
Fixed it now

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

Successfully merging this pull request may close these issues.

2 participants