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

Function get_env

vlmeval/tools.py:333–337  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

331 logger = get_logger('Run Missing')
332
333 def get_env(name):
334 assert name in ['433', '437', '440', 'latest']
335 load_env()
336 env_key = f'ENV_{name}'
337 return os.environ.get(env_key, None)
338
339 missing = MISSING(lvl)
340 if model == 'all':

Callers 1

RUNFunction · 0.85

Calls 2

load_envFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected