MCPcopy Create free account
hub / github.com/PaddlePaddle/EasyData / override_config

Function override_config

deploy/python/dataaug/utils/config.py:132–157  ·  view source on GitHub ↗

Recursively override the config Args: config(dict): dict to be replaced options(list): list of pairs(key0.key1.idx.key2=value) such as: [ 'topk=2', 'VALID.transforms.1.ResizeImage.resize_short=300' ] Returns:

(config, options=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

get_configFunction · 0.85

Calls 1

overrideFunction · 0.85

Tested by

no test coverage detected