binoua commited on
Commit
5005c12
1 Parent(s): 8675aad

chore: inference execution time

Browse files
Files changed (1) hide show
  1. play_with_endpoint.py +1 -1
play_with_endpoint.py CHANGED
@@ -84,7 +84,7 @@ for i in range(nb_samples):
84
 
85
  if verbose or True:
86
  print(
87
- f"for {i}-th input, {prediction=} with expected {y_test[i]} in {duration_inference} seconds"
88
  )
89
 
90
  # Measure accuracy
 
84
 
85
  if verbose or True:
86
  print(
87
+ f"for {i}-th input, {prediction=} with expected {y_test[i]} in {duration_inference:.3f} seconds"
88
  )
89
 
90
  # Measure accuracy