Skip to content
Open
Show file tree
Hide file tree
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: 2 additions & 2 deletions script/vis/main_vis_clsModel.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% load model
tmp = load('mo.mat', 'h','mu');
tmp = load('mo_for_vis.mat', 'h','mu');
h = tmp.h;
mu = tmp.mu;
clear tmp;
Expand All @@ -26,4 +26,4 @@
%% print
fprintf('c = %d\n', c);
fprintf('class score:\n');
disp(s);
disp(s);
4 changes: 2 additions & 2 deletions script/vis/main_vis_clsSaliency.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% load model
tmp = load('mo.mat', 'h','mu');
tmp = load('mo_for_vis.mat', 'h','mu');
h = tmp.h;
mu = tmp.mu;
clear tmp;
Expand All @@ -25,4 +25,4 @@
imtool(I', 'InitialMagnification',800);
Mmax = max(M(:)); Mmin = min(M(:));
MM = (M - Mmin)./(Mmax-Mmin);
imtool(MM', 'InitialMagnification',800);
imtool(MM', 'InitialMagnification',800);
4 changes: 2 additions & 2 deletions util_3rdparty/MaxPooling.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
% (rows, cols, channels, samples) and returns the pooled data with the
% corresponding indices.
%
% [m, idx] = MaxPooling(IM, [2 2])
%[m, idx] = MaxPooling(IM, [2 2])
%
% IM can also be a 2D tensor, the missing dims are set to 1.

% AUTORIGHTS
% Copyright (C) 2011 Jonathan Masci <jonathan@idsia.ch>
%
% This file is available under the terms of the
% GNU GPLv2.
% GNU GPLv2.