Commit 3099dd38 authored by Yi Hu's avatar Yi Hu
Browse files

修改: .gitignore

	修改:     src/crmask.py
                   默认配置文件改为../conf/crmask.ini
parent 3bafde3e
......@@ -29,7 +29,7 @@ import sys
__all__ = ['CRMask']
class CRMask:
def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = 'crmask.ini', **kwargs):
def __init__(self, obj, flag = None, mask = None, clean = None, sky = None, save_flag = True, update_flag = True, save_name = None, flag_suffix = 'flg', clean_suffix = 'crclean', append_flag = False, mask_suffix = 'crmask', model = 'deepCR', fill_flag = True, fill_method = 'inpainting', gpu_flag = False, config_path = '../conf/crmask.ini', **kwargs):
"""
Instantiation of CRMask with specified model configuration.
......@@ -65,7 +65,7 @@ class CRMask:
gpu_flag : (optional) boolean
whether use GPU, default is False
config_path : (optional) string
configuration file path, default is ``./crmask.ini``
configuration file path, default is ``../conf/crmask.ini``
"""
self.model = model
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment