Browse Source

fix wrong var name.

lyc8503 4 years ago
parent
commit
9fc9ec3983
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend_refactor/service/video_analyzer.py

+ 1 - 1
backend_refactor/service/video_analyzer.py

@@ -35,7 +35,7 @@ def run_openpose_for_npy_and_video(video_uuid):
                 # if os.path.exists(frames_dir + str(c) + ".npy"):
                 #     continue
 
-                logging.debug("Running openpose for %s %s" % (video_uuid, i))
+                logging.debug("Running openpose for %s %s" % (video_uuid, c))
 
                 poses = tp(frame)
                 np.save(frames_dir + str(c) + ".npy", poses)