Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hbilen committed Jan 10, 2018
1 parent 651f51e commit 96b91af
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Layers/ErrorMultiClass.m
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
classdef ErrorMultiClass < dagnn.Loss
% author: Hakan Bilen
% computes multi-class accuracy
% inputs{1} - > scores
% inputs{2} - > gt labels
% author: Hakan Bilen
% computes multi-class accuracy
% inputs{1}->scores
% inputs{2}->gt labels
properties
nImgPerClass = []
nCorPred = []
Expand Down Expand Up @@ -62,8 +62,7 @@ function reset(obj)

function obj = ErrorMultiClass(varargin)
obj.load(varargin) ;
loss = 'error_multi_class' ;

obj.loss = 'error_multi_class' ;
end
end
end

0 comments on commit 96b91af

Please sign in to comment.