Skip to content

sadimanna/simclr_pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of SimCLR in PyTorch

The whole code has been implemented in Jupyter Notebook.

Using LARS

param_names = []
for n,p in self.net.named_parameters():
    params.append(p)
    param_names.append(n)
parameters = [{'params':params,'param_names':param_names}]
optimizer = LARS(parameters,
                 lr = self.lr,
                 weight_decay = self.weight_decay,
                 exclude_from_weight_decay=["batch_normalization", "bias"])

About

Implementation of SimCLR in PyTorch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published