Browse Source

Add files via upload

tags/v0.1.0
Xu Yige GitHub 6 years ago
parent
commit
8e0b663312
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      fastNLP/loader/config_loader.py

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

@@ -38,5 +38,5 @@ class ConfigLoader(BaseLoader):
(type(getattr(sections[s], attr)), type(val))
setattr(sections[s], attr, val)
except Exception as e:
traceback.print_exc()
raise ValueError('something wrong in "%s" entry' % attr)
# attribute attr in section s did not been set, default val will be used
pass

Loading…
Cancel
Save