Skip to content

Overfitting on ResNet18 #161

@MichaelLee-ceo

Description

@MichaelLee-ceo

I copied the resnet.py for constructing ResNet18 and start training.
The hyperparameters I used to train the network are the same as defined in the main.py, but I eventually end up with overfitting on the testing set.
I got almost 98% accuracy on training set while only 89% on testing set.
Did I mis-configured something or how can I handle it to avoid overfitting? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions