inference

This commit is contained in:
firestar5683
2026-07-11 11:54:46 -05:00
parent 6c0ee59a3e
commit e47a836d2d
+4 -1
View File
@@ -593,7 +593,10 @@ def main(demo=False):
mt2 = time.perf_counter()
model_execution_time = mt2 - mt1
if model_output is not None:
if model_output is not None and vipc_dropped_frames > 0:
cloudlog.error(f"suppressing model output after dropping {vipc_dropped_frames} frames")
if model_output is not None and vipc_dropped_frames == 0:
modelv2_send = messaging.new_message('modelV2')
starpilot_modelv2_send = messaging.new_message('starpilotModelV2')
drivingdata_send = messaging.new_message('drivingModelData')