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

Method restore

classification/ema_deepspeed.py:77–91  ·  view source on GitHub ↗

Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the original optimization process. Store the parameters before the `copy_to` method. After validation (or model saving), use this to rest

(self, model)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

activateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected