Browse Source

Merge branch 'dev/inference' of https://github.com/fastnlp/fastNLP

tags/v0.1.0
FengZiYjun 6 years ago
parent
commit
e531908f40
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      fastNLP/loader/config_loader.py

+ 1
- 1
fastNLP/loader/config_loader.py View File

@@ -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…
Cancel
Save