Spaces:
Runtime error
Runtime error
Update main_test_CMFNet.py
Browse files- main_test_CMFNet.py +2 -2
main_test_CMFNet.py
CHANGED
@@ -14,11 +14,11 @@ from natsort import natsorted
|
|
14 |
from model.CMFNet import CMFNet
|
15 |
|
16 |
def main():
|
17 |
-
parser = argparse.ArgumentParser(description='Demo Image
|
18 |
parser.add_argument('--input_dir', default='test/', type=str, help='Input images')
|
19 |
parser.add_argument('--result_dir', default='results/', type=str, help='Directory for results')
|
20 |
parser.add_argument('--weights',
|
21 |
-
default='experiments/pretrained_models/
|
22 |
help='Path to weights')
|
23 |
|
24 |
args = parser.parse_args()
|
|
|
14 |
from model.CMFNet import CMFNet
|
15 |
|
16 |
def main():
|
17 |
+
parser = argparse.ArgumentParser(description='Demo Image Dehaze')
|
18 |
parser.add_argument('--input_dir', default='test/', type=str, help='Input images')
|
19 |
parser.add_argument('--result_dir', default='results/', type=str, help='Directory for results')
|
20 |
parser.add_argument('--weights',
|
21 |
+
default='experiments/pretrained_models/dehaze_model.pth', type=str,
|
22 |
help='Path to weights')
|
23 |
|
24 |
args = parser.parse_args()
|