MCPcopy Create free account
hub / github.com/OpenGVLab/InternImage / save_checkpoint

Function save_checkpoint

classification/utils.py:316–367  ·  view source on GitHub ↗
(config,
                    epoch,
                    model,
                    max_accuracy,
                    optimizer,
                    lr_scheduler,
                    scaler,
                    logger,
                    model_ema=None,
                    max_accuracy_ema=None,
                    ema_decay=None,
                    model_ems=None,
                    max_accuracy_ems=None,
                    ems_model_num=None,
                    best=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

mainFunction · 0.90
mainFunction · 0.50
mainFunction · 0.50

Calls 2

state_dictMethod · 0.80
infoMethod · 0.45

Tested by

no test coverage detected