MCPcopy Index your code
hub / github.com/OpenGVLab/InternVL / load_state_dict

Method load_state_dict

classification/utils.py:383–384  ·  view source on GitHub ↗
(self, state_dict)

Source from the content-addressed store, hash-verified

381 return self._scaler.state_dict()
382
383 def load_state_dict(self, state_dict):
384 self._scaler.load_state_dict(state_dict)
385
386
387class MyAverageMeter(object):

Callers 15

mainFunction · 0.80
mainFunction · 0.80
load_ema_checkpointFunction · 0.80
load_checkpointFunction · 0.80
load_pretrainedFunction · 0.80
get_modelFunction · 0.80
trainFunction · 0.80
evalFunction · 0.80
load_model_checkpointFunction · 0.80
init_weightsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected