Skip to content

Commit 1d0979c

Browse files
committed
update replay
1 parent b708594 commit 1d0979c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

selfdrive/test/process_replay/model_replay.py

+10-8
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,16 @@ def model_replay(lr, frs):
176176
# TODO this tolerence is absurdly large
177177
tolerance = 5e-1 if PC else None
178178
results: Any = {TEST_ROUTE: {}}
179-
results[TEST_ROUTE]["models"] = compare_logs(cmp_log, log_msgs, tolerance=tolerance, ignore_fields=ignore)
180-
diff1, diff2, failed = format_diff(results, ref_commit)
181-
182-
print(diff2)
183-
print('-------------\n'*5)
184-
print(diff1)
185-
with open("model_diff.txt", "w") as f:
186-
f.write(diff2)
179+
# results[TEST_ROUTE]["models"] = compare_logs(cmp_log, log_msgs, tolerance=tolerance, ignore_fields=ignore)
180+
diff1, diff2 = ['','']
181+
failed = True
182+
# diff1, diff2, failed = format_diff(results, ref_commit)
183+
184+
# print(diff2)
185+
# print('-------------\n'*5)
186+
# print(diff1)
187+
# with open("model_diff.txt", "w") as f:
188+
# f.write(diff2)
187189
except Exception as e:
188190
print(str(e))
189191
failed = True

0 commit comments

Comments
 (0)