diff --git a/__pycache__/my_defaults.cpython-36.pyc b/__pycache__/my_defaults.cpython-36.pyc index 610ad33..584cf9e 100644 Binary files a/__pycache__/my_defaults.cpython-36.pyc and b/__pycache__/my_defaults.cpython-36.pyc differ diff --git a/my_defaults.py b/my_defaults.py deleted file mode 100644 index c42fc7a..0000000 --- a/my_defaults.py +++ /dev/null @@ -1,10 +0,0 @@ -DEFAULT_PEN_WIDTH = 4 -DEFAULT_CRF_DOWNSAMPLE = 3 -DEFAULT_RF_DOWNSAMPLE = 10 -DEFAULT_CRF_THETA = 40 -DEFAULT_CRF_MU = 100 -DEFAULT_MEDIAN_KERNEL = 3 -DEFAULT_RF_NESTIMATORS = 3 -DEFAULT_CRF_GTPROB = 0.9 -SIGMA_MIN = 1 -SIGMA_MAX = 16 diff --git a/predict_folder.py b/predict_folder.py index d175589..df8949b 100644 --- a/predict_folder.py +++ b/predict_folder.py @@ -54,6 +54,7 @@ try: from my_defaults import * + print("Your session defaults loaded") except: from defaults import * finally: diff --git a/refine_labels.py b/refine_labels.py index f860e89..b113c8e 100644 --- a/refine_labels.py +++ b/refine_labels.py @@ -239,6 +239,7 @@ def crf_refine(label, ###=========================================================== try: from my_defaults import * + print("Your session defaults loaded") except: from defaults import * finally: