dumdum788 commited on
Commit
5f26a03
·
1 Parent(s): 52b03fc

debugging api

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -131,7 +131,18 @@ def predict(data: PoseInput):
131
  66,
132
  1
133
  )
134
-
 
 
 
 
 
 
 
 
 
 
 
135
  # -----------------------------
136
  # Predict
137
  # -----------------------------
 
131
  66,
132
  1
133
  )
134
+ # =============================
135
+ # DEBUG INPUT
136
+ # =============================
137
+ print("=" * 60)
138
+ print("DEBUG INPUT CNN")
139
+ print("=" * 60)
140
+ print("Shape :", features.shape)
141
+ print("Min :", np.min(features))
142
+ print("Max :", np.max(features))
143
+ print("Mean :", np.mean(features))
144
+ print("First 20 values :")
145
+ print(features.flatten()[:20])
146
  # -----------------------------
147
  # Predict
148
  # -----------------------------