From 3099dd380169705970c53a89ea49e329566ba37d Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Fri, 3 Jun 2022 10:44:01 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20.g?= =?UTF-8?q?itignore=20=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20src/crm?= =?UTF-8?q?ask.py=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=94=B9=E4=B8=BA../conf/crmask.ini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + src/crmask.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a2e6bd4..862bb98 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ doc/ +__pycache__/ diff --git a/src/crmask.py b/src/crmask.py index ad2bf86..2ec8098 100644 --- a/src/crmask.py +++ b/src/crmask.py @@ -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 -- GitLab