Skip to content

Commit

Permalink
Fix misc.py import for confusion matrix plot
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-edelman authored Nov 13, 2023
1 parent a9461a8 commit 3a968c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diploshic/diploSHIC
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ if argsDict["mode"] == "train":
print("diploSHIC loss: %f" % score[0])
print("diploSHIC accuracy: %f" % score[1])
if confusionFile:
from misc import plot_confusion_matrix
from diploshic.misc import plot_confusion_matrix
import matplotlib.pyplot as plt

plot_confusion_matrix(
Expand Down

0 comments on commit 3a968c3

Please sign in to comment.