Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
387
class
MyAverageMeter(object):
Callers
15
main
Function · 0.80
main
Function · 0.80
load_ema_checkpoint
Function · 0.80
load_checkpoint
Function · 0.80
load_pretrained
Function · 0.80
get_model
Function · 0.80
train
Function · 0.80
eval
Function · 0.80
load_model_checkpoint
Function · 0.80
load_checkpoint_if_needed
Function · 0.80
init_weights
Method · 0.80
initialize_vision_modules
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected