reab5555 commited on
Commit
51a8f17
·
verified ·
1 Parent(s): a5d304e

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +1 -1
visualization.py CHANGED
@@ -226,7 +226,7 @@ def fill_with_zeros(mse_array, total_frames):
226
  return result
227
 
228
  def create_heatmap(t, mse_embeddings, mse_posture, mse_voice, desired_fps, total_frames, video_width):
229
- fig, ax = plt.subplots(figsize=(video_width / 100, 0.4))
230
 
231
  # Create the full heatmap for the entire video duration
232
  combined_mse = np.array([mse_embeddings, mse_posture, mse_voice])
 
226
  return result
227
 
228
  def create_heatmap(t, mse_embeddings, mse_posture, mse_voice, desired_fps, total_frames, video_width):
229
+ fig, ax = plt.subplots(figsize=(video_width / 250, 0.4))
230
 
231
  # Create the full heatmap for the entire video duration
232
  combined_mse = np.array([mse_embeddings, mse_posture, mse_voice])