reab5555 commited on
Commit
c291472
·
verified ·
1 Parent(s): 4bffa1e

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +1 -1
visualization.py CHANGED
@@ -230,7 +230,7 @@ def create_heatmap(t, mse_embeddings, mse_posture, mse_voice, video_fps, total_f
230
  combined_mse[1] = mse_posture
231
  combined_mse[2] = mse_voice
232
 
233
- fig, ax = plt.subplots(figsize=(video_width / 240, 0.7))
234
  ax.imshow(combined_mse, aspect='auto', cmap='Reds', vmin=0, vmax=1, extent=[0, total_frames, 0, 3])
235
  ax.set_yticks([0.5, 1.5, 2.5])
236
  ax.set_yticklabels(['Voice', 'Posture', 'Face'], fontsize=7)
 
230
  combined_mse[1] = mse_posture
231
  combined_mse[2] = mse_voice
232
 
233
+ fig, ax = plt.subplots(figsize=(video_width / 280, 0.5))
234
  ax.imshow(combined_mse, aspect='auto', cmap='Reds', vmin=0, vmax=1, extent=[0, total_frames, 0, 3])
235
  ax.set_yticks([0.5, 1.5, 2.5])
236
  ax.set_yticklabels(['Voice', 'Posture', 'Face'], fontsize=7)