Skip to content

Commit

Permalink
fixed min and max
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Lane committed Nov 16, 2024
1 parent 2b99e39 commit e05c0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ablate_attention.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def main(args: argparse.Namespace):
# Heatmap of Dice similarities
fig, axis = plt.subplots()

im = axis.imshow(dice_matrix, cmap="plasma_r")
im = axis.imshow(dice_matrix, cmap="plasma_r", vmin=0, vmax=1)
axis.set_xlabel("Removed attention block(s)")
axis.set_ylabel("Removed attention block(s)")

Expand Down

0 comments on commit e05c0da

Please sign in to comment.