Skip to content

Commit

Permalink
Fix visualization title bug (#9500)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
  • Loading branch information
glenn-jocher committed Sep 19, 2022
1 parent 0b724c5 commit 0171198
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def feature_visualization(x, module_type, stage, n=32, save_dir=Path('runs/detec
ax[i].axis('off')

LOGGER.info(f'Saving {f}... ({n}/{channels})')
plt.title('Features')
plt.savefig(f, dpi=300, bbox_inches='tight')
plt.close()
np.save(str(f.with_suffix('.npy')), x[0].cpu().numpy()) # npy save
Expand Down

0 comments on commit 0171198

Please sign in to comment.