You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
choices=['svhn'], help='Which dataset to train the model on.')
41
41
42
-
parser.add_argument('--EntropyPrediction', type=bool, default=True, help='Include the Entropy Prediction metric in evaluation')
43
-
parser.add_argument('--F1Score', type=bool, default=True, help='Include the F1Score metric in evaluation')
44
-
parser.add_argument('--Recall', type=bool, default=True, help='Include the Recall metric in evaluation')
45
-
parser.add_argument('--Precision', type=bool, default=True, help='Include the Precision metric in evaluation')
46
-
parser.add_argument('--Accuracy', type=bool, default=True, help='Include the Accuracy metric in evaluation')
47
-
42
+
parser.add_argument("--metric", type=str, default="entropy", choices=['entropy', 'f1', 'recall', 'precision', 'accuracy'], nargs="+", help='Which metric to use for evaluation')
43
+
48
44
#Training specific values
49
45
parser.add_argument('--epoch', type=int, default=20, help='Amount of training epochs the model will do.')
50
46
parser.add_argument('--learning_rate', type=float, default=0.001, help='Learning rate parameter for model training.')
0 commit comments