Update visualization.py
Browse files- 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 /
|
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])
|