MCPcopy Index your code
hub / github.com/davda54/sam / train.py

File train.py

example/train.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import argparse
2import torch
3
4from model.wide_res_net import WideResNet

Callers

nothing calls this directly

Calls 15

initializeFunction · 0.90
CifarClass · 0.90
LogClass · 0.90
WideResNetClass · 0.90
SAMClass · 0.90
StepLRClass · 0.90
enable_running_statsFunction · 0.90
smooth_crossentropyFunction · 0.90
disable_running_statsFunction · 0.90
trainMethod · 0.80
first_stepMethod · 0.80
second_stepMethod · 0.80

Tested by

no test coverage detected