Skip to content

Commit

Permalink
Improve logic of final plotter
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Apr 25, 2024
1 parent 1c5a101 commit 18deddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spleenseg/plotting/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ def plot_infer(
plt.imshow(input[:, :, 20], cmap="gray")
plt.subplot(1, 2, 2)
plt.title(f"result: {title}")
plt.imshow(result[0].detach().cpu()[1, :, :, 20])
plt.imshow(result.detach().cpu()[1, :, :, 20])
plt.savefig(str(savefile))
plt.clf()

0 comments on commit 18deddf

Please sign in to comment.