google-research / google-research/sam

Verification on Training Details

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
646
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to reproduce the CIFAR-10 experiment with wide resnet. However I was only able to achieve 2.96% Test Error with SAM and 3.5% Test Error with SGD. Since I am using only 4 GPUs for training, I understand that the performance of SAM could be different. However in case of SGD, if all hyperparameters are same, I believe the performance should be similar.

I tried my best to replicate the hyperparameters mentioned in the paper. However some parameters were not so clearly stated. So it would be grateful, if you could verify my training details. Here is the hyperparameters I used for training:

learning rate : 0.1
epoch : 200 (and 400 in case of SGD)
batch size : 256
scheduler : cosine
weight decay : 0.0005
rho : 0.05
beta : 0.9
Nesterov : True

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.