Skip to content

Commit 895e046

Browse files
committed
Added choices to arguments
1 parent 4c0bf8d commit 895e046

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/image_colorization/main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
if __name__ == "__main__":
55
parser = argparse.ArgumentParser(description='Test model')
6-
parser.add_argument('--model', type=str, default="reg_full_model", help="Choose name of the model you want to test")
6+
parser.add_argument('--model',
7+
type=str,
8+
default="reg_full_model",
9+
help="Choose name of the model you want to test",
10+
choices={"reg_full_model", "reg_full_vgg_model", "reg_part_model",
11+
"class_weights_model", "class_wo_weights_model"})
712

813
args = parser.parse_args()
914

0 commit comments

Comments
 (0)