MCPcopy
hub / github.com/open-compass/VLMEvalKit / LMUDataRoot

Function LMUDataRoot

vlmeval/smp/file.py:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def LMUDataRoot():
69 if 'LMUData' in os.environ and osp.exists(os.environ['LMUData']):
70 return os.environ['LMUData']
71 home = osp.expanduser('~')
72 root = osp.join(home, 'LMUData')
73 os.makedirs(root, exist_ok=True)
74 return root
75
76
77def HFCacheRoot():

Callers 15

__init__Method · 0.85
__init__Method · 0.85
prepare_tsvMethod · 0.85
load_dataMethod · 0.85
load_dataMethod · 0.85
load_dataMethod · 0.85
build_promptMethod · 0.85
prepare_tsvMethod · 0.85
build_promptMethod · 0.85
prepare_tsvMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected