add temporary printing of pred-len
Browse files- logmetric.py +2 -0
logmetric.py
CHANGED
@@ -203,6 +203,8 @@ class LogMetric(evaluate.Metric):
|
|
203 |
# A variable to save the previous timestamp (as datetime obj) to check monotonicity
|
204 |
prev_datetime = None
|
205 |
# Convert matches to datetime objects
|
|
|
|
|
206 |
for i in range(len(pred_timestamps)):
|
207 |
ts = pred_timestamps[i]
|
208 |
try:
|
|
|
203 |
# A variable to save the previous timestamp (as datetime obj) to check monotonicity
|
204 |
prev_datetime = None
|
205 |
# Convert matches to datetime objects
|
206 |
+
|
207 |
+
print("AMT_PRDICTED TIMESTAMPS: ", len(pred_timestamps))
|
208 |
for i in range(len(pred_timestamps)):
|
209 |
ts = pred_timestamps[i]
|
210 |
try:
|