Update visualization.py
Browse files- visualization.py +1 -1
visualization.py
CHANGED
@@ -297,7 +297,7 @@ def create_heatmap(t, mse_embeddings, mse_posture, mse_voice, video_fps, total_f
|
|
297 |
combined_mse[1] = mse_posture_norm
|
298 |
combined_mse[2] = mse_voice_norm
|
299 |
|
300 |
-
fig, ax = plt.subplots(figsize=(video_width /
|
301 |
ax.imshow(combined_mse, aspect='auto', cmap='Reds', vmin=0, vmax=1, extent=[0, total_frames, 0, 3])
|
302 |
ax.set_yticks([0.5, 1.5, 2.5])
|
303 |
ax.set_yticklabels(['Voice', 'Posture', 'Face'], fontsize=7)
|
|
|
297 |
combined_mse[1] = mse_posture_norm
|
298 |
combined_mse[2] = mse_voice_norm
|
299 |
|
300 |
+
fig, ax = plt.subplots(figsize=(video_width / 220, 0.5))
|
301 |
ax.imshow(combined_mse, aspect='auto', cmap='Reds', vmin=0, vmax=1, extent=[0, total_frames, 0, 3])
|
302 |
ax.set_yticks([0.5, 1.5, 2.5])
|
303 |
ax.set_yticklabels(['Voice', 'Posture', 'Face'], fontsize=7)
|