diff --git a/fastNLP/loader/config_loader.py b/fastNLP/loader/config_loader.py index 4bac49bb..371de4f1 100644 --- a/fastNLP/loader/config_loader.py +++ b/fastNLP/loader/config_loader.py @@ -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