sfmig commited on
Commit
f16e16d
·
1 Parent(s): 2042455

removed pdb set traces

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -14,7 +14,7 @@ import math
14
  import os
15
  import yaml
16
 
17
- import pdb
18
 
19
  #########################################
20
 
@@ -140,12 +140,6 @@ def predict_dlc(list_np_crops,
140
  for crop in list_np_crops:
141
  # scale crop here?
142
  keypts_xyp = dlc_live.get_pose(crop) # third column is llk!
143
- # ATT! coord syst for keypoints is bottom left corner? change here to top left for PIL coord system
144
- pdb.set_trace()
145
- # keypts_xyp = np.column_stack((crop.shape[1]-keypts_xyp[:,0],
146
- # crop.shape[0]-keypts_xyp[:,1],
147
- # keypts_xyp[:,2]))
148
- # pdb.set_trace()
149
  # set kpts below threhsold to nan
150
  keypts_xyp[keypts_xyp[:,-1] < kpts_likelihood_th,:] = np_aux.fill(np.nan)
151
  # add kpts of this crop to list
 
14
  import os
15
  import yaml
16
 
17
+ # import pdb
18
 
19
  #########################################
20
 
 
140
  for crop in list_np_crops:
141
  # scale crop here?
142
  keypts_xyp = dlc_live.get_pose(crop) # third column is llk!
 
 
 
 
 
 
143
  # set kpts below threhsold to nan
144
  keypts_xyp[keypts_xyp[:,-1] < kpts_likelihood_th,:] = np_aux.fill(np.nan)
145
  # add kpts of this crop to list