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
parser.add_argument('--device', type=int, default=0, help="number of device to use")
52
52
parser.add_argument('--fullsize', action='store_true', help='test the network at the global scope')
53
-
parser.add_argument('--preCalc', action='store_true', help='test the network at the global scope')
53
+
parser.add_argument('--preCalc', action='store_true', help='use precalculated binaries as input')
54
54
parser.add_argument('--NWS', action='store_true', help='use Resolution of hires')
55
55
parser.add_argument('--num_samples', type=int, default=-1, help='number of samples to infere from the dataset')
56
56
parser.add_argument('--classes', type=int, default=1, help='How many classes the network should predict (binary case has 1 class denoted by probabilities)')
57
57
parser.add_argument('--normType', type=int, default=0, help='How to normalize the data: 0 min-max, 1 mean-var, 2/3 the same but per pixel')
58
58
parser.add_argument('--labelGroupingList', type=str, default=None, help='Comma separated list of label groups \n possible fields are w c o s (warm, cold, occluson, stationary)')
59
59
parser.add_argument('--ETH', action='store_true', help='Compare against an ETH result instead of net')
60
60
parser.add_argument('--show-error', action='store_true', help='show the inividual error values during inference')
61
-
parser.add_argument('--fromFile', type=str, default=None, help='show the inividual error values during inference')
61
+
parser.add_argument('--fromFile', type=str, default=None, help='file to extract network configuration from')
62
62
parser.add_argument('--calcVar', type=str, default="t", help='which variable to measure along the cross section')
63
63
parser.add_argument('--secPath', type=str, default=None, help='Path to folder with secondary data containing variable information to be evaluated. Data should be stored as <secPath>/YYYY/MM/<fileID>YYYYMMDD_HH.nc . <fileID> is an Identifier based on the type of file (e.g. B,Z,precip)')
64
64
parser.add_argument('--alpha', type=float, default=0, help='weight of constant background compared background variable. [0 to 1]')
parser.add_argument('--device', type=int, default=0, help="number of device to use")
59
59
parser.add_argument('--fullsize', action='store_true', help='test the network at the global scope')
60
-
parser.add_argument('--preCalc', action='store_true', help='test the network at the global scope')
60
+
parser.add_argument('--preCalc', action='store_true', help='use precalculated binaries as input')
61
61
parser.add_argument('--NWS', action='store_true', help='use Resolution of hires')
62
62
parser.add_argument('--num_samples', type=int, default=-1, help='number of samples to infere from the dataset')
63
63
parser.add_argument('--classes', type=int, default=1, help='How many classes the network should predict (binary case has 1 class denoted by probabilities)')
64
64
parser.add_argument('--normType', type=int, default=0, help='How to normalize the data: 0 min-max, 1 mean-var, 2/3 the same but per pixel')
65
65
parser.add_argument('--labelGroupingList', type=str, default=None, help='Comma separated list of label groups \n possible fields are w c o s (warm, cold, occluson, stationary)')
66
66
parser.add_argument('--show-error', action='store_true', help='show the inividual error values during inference')
67
-
parser.add_argument('--fromFile', type=str, default=None, help='show the inividual error values during inference')
67
+
parser.add_argument('--fromFile', type=str, default=None, help='file to extract network configuration from')
68
68
parser.add_argument('--calcType', type=str, default="ML", help='from which fronts should the crossing be calculated')
69
69
parser.add_argument('--calcVar', type=str, default="t", help='which variable to measure along the cross section')
70
70
parser.add_argument('--secPath', type=str, default=None, help='Path to folder with secondary data containing variable information to be evaluated. Data should be stored as <secPath>/YYYY/MM/<fileID>YYYYMMDD_HH.nc . <fileID> is an Identifier based on the type of file (e.g. ml,B,Z,precip)')
parser.add_argument('--preCalc', action='store_true', help='use precalculated binaries as input')
540
540
541
541
# network information
542
542
parser.add_argument('--net', help='path no net')
543
543
parser.add_argument('--classes', type=int, default=1, help='How many classes the network should predict (binary case has 1 class denoted by probabilities)')
544
-
parser.add_argument('--fromFile', type=str, default=None, help='show the inividual error values during inference')
544
+
parser.add_argument('--fromFile', type=str, default=None, help='file to extract network configuration from')
545
545
546
546
# evaluation information
547
547
parser.add_argument('--CSI', action='store_true', help='evaluate the CSI')
Copy file name to clipboardExpand all lines: InferOutputs.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ def parseArguments():
48
48
parser.add_argument('--classes', type=int, default=1, help='How many classes the network should predict (binary case has 1 class denoted by probabilities)')
49
49
parser.add_argument('--normType', type=int, default=0, help='How to normalize the data: 0 min-max, 1 mean-var, 2/3 the same but per pixel')
50
50
parser.add_argument('--labelGroupingList', type=str, default=None, help='Comma separated list of label groups \n possible fields are w c o s (warm, cold, occluson, stationary)')
51
-
parser.add_argument('--fromFile', type=str, default=None, help='show the inividual error values during inference')
51
+
parser.add_argument('--fromFile', type=str, default=None, help='file to extract network configuration from')
52
52
parser.add_argument('--border', type=int, default=5, help="A Border in degree which is not evaluated")
53
53
parser.add_argument('--skip', type=int, default=0, help="How many of the data should be skipped (skip + not skipped = num_samples)")
0 commit comments