hamzaanwar12 commited on
Commit
684dd8e
·
1 Parent(s): 10a9622

some new changes

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -271,10 +271,11 @@ def initialize_models():
271
 
272
  def build_pose_img(annotation_file, img_path):
273
  """Build pose image from annotation file."""
274
- log("📄 img_path:", img_path)
275
- log("📄 basename(img_path):", os.path.basename(img_path))
276
- log("📄 Index Sample:", annotation_file.index[:5])
277
- log("📄 Does key exist?:", os.path.basename(img_path) in annotation_file.index)
 
278
 
279
  string = annotation_file.loc[os.path.basename(img_path)]
280
  array = load_pose_cords_from_strings(string['keypoints_y'], string['keypoints_x'])
 
271
 
272
  def build_pose_img(annotation_file, img_path):
273
  """Build pose image from annotation file."""
274
+ log(f"📄 img_path: {img_path}")
275
+ log(f"📄 basename(img_path): {os.path.basename(img_path)}")
276
+ log(f"📄 Index Sample: {annotation_file.index[:5]}")
277
+ log(f"📄 Does key exist?: {os.path.basename(img_path) in annotation_file.index}")
278
+
279
 
280
  string = annotation_file.loc[os.path.basename(img_path)]
281
  array = load_pose_cords_from_strings(string['keypoints_y'], string['keypoints_x'])