Skip to content

Commit

Permalink
Update Pseudo_Loss.m
Browse files Browse the repository at this point in the history
  • Loading branch information
layumi committed Feb 11, 2018
1 parent 170c172 commit 17607bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/+dagnn/Pseudo_Loss.m
Expand Up @@ -18,7 +18,7 @@

function [derInputs, derParams] = backward(obj, inputs, params, derOutputs)
labels = inputs{2};
labels_new = update_pesudo(inputs{1},labels);
labels_new = update_pseudo(inputs{1},labels);
instanceWeights = ones(size(labels));
gan = (labels==0);
instanceWeights(gan) = 0.1;
Expand Down

0 comments on commit 17607bb

Please sign in to comment.