Skip to content

Commit

Permalink
Update params for plot_bestModelOnValidate
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Apr 25, 2024
1 parent 49ad31c commit 8be1f85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spleenseg/plotting/plotting.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python

from pathlib import Path
from monai.data.meta_tensor import MetaTensor
import torch
import matplotlib.pyplot as plt
import pudb
Expand Down Expand Up @@ -42,7 +43,10 @@ def plot_trainingMetrics(


def plot_bestModelOnValidate(
input: dict[str, torch.Tensor], output: torch.Tensor, title: str, savefile: Path
input: dict[str, torch.Tensor | MetaTensor | int],
output: torch.Tensor,
title: str,
savefile: Path,
) -> None:
plt.figure("check", (18, 6))
plt.subplot(1, 3, 1)
Expand Down

0 comments on commit 8be1f85

Please sign in to comment.