Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dnotebooks/plots/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,9 @@ def stack_mean_node_metric(
) -> np.ndarray:
exps_metric: List[np.ndarray] = []
for cf in experiments:
if metric == "accuracy":
if len(cf.data.shape) == 2:
X = cf.data
elif metric == "accuracy":
X = cf.accuracy()
else:
assert class_label is not None
Expand Down
Loading