mirror of
https://gitee.com/fastnlp/fastNLP.git
synced 2024-12-02 20:27:35 +08:00
Update config_loader.py
This commit is contained in:
parent
c83008add9
commit
aaac041fc3
@ -24,7 +24,7 @@ class ConfigLoader(BaseLoader):
|
||||
Example:
|
||||
test_args = ConfigSection()
|
||||
ConfigLoader("config.cfg", "").load_config("./data_for_tests/config", {"POS_test": test_args})
|
||||
:return:
|
||||
:return: return nothing, but the value of attributes are saved in sessions
|
||||
"""
|
||||
assert isinstance(sections, dict)
|
||||
cfg = configparser.ConfigParser()
|
||||
|
Loading…
Reference in New Issue
Block a user