Update TryExcept(msg='...')` (#9261)
This commit is contained in:
1 parent
5d4787baab
commit
15e82d2967
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -186,7 +186,7 @@ class ConfusionMatrix:
|
||||
# fn = self.matrix.sum(0) - tp # false negatives (missed detections)
|
||||
return tp[:-1], fp[:-1] # remove background class
|
||||
|
||||
@TryExcept('WARNING: ConfusionMatrix plot failure')
|
||||
@TryExcept('WARNING: ConfusionMatrix plot failure: ')
|
||||
def plot(self, normalize=True, save_dir='', names=()):
|
||||
import seaborn as sn
|
||||
|
||||
|
||||
Reference in new issue
Block a user