diff --git a/script/vis/main_vis_clsModel.m b/script/vis/main_vis_clsModel.m index d4c3b0e..4c6eb5e 100644 --- a/script/vis/main_vis_clsModel.m +++ b/script/vis/main_vis_clsModel.m @@ -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; @@ -26,4 +26,4 @@ %% print fprintf('c = %d\n', c); fprintf('class score:\n'); -disp(s); \ No newline at end of file +disp(s); diff --git a/script/vis/main_vis_clsSaliency.m b/script/vis/main_vis_clsSaliency.m index 3bf1685..4ba66be 100644 --- a/script/vis/main_vis_clsSaliency.m +++ b/script/vis/main_vis_clsSaliency.m @@ -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; @@ -25,4 +25,4 @@ imtool(I', 'InitialMagnification',800); Mmax = max(M(:)); Mmin = min(M(:)); MM = (M - Mmin)./(Mmax-Mmin); -imtool(MM', 'InitialMagnification',800); \ No newline at end of file +imtool(MM', 'InitialMagnification',800); diff --git a/util_3rdparty/MaxPooling.m b/util_3rdparty/MaxPooling.m index 0895116..26d6d83 100644 --- a/util_3rdparty/MaxPooling.m +++ b/util_3rdparty/MaxPooling.m @@ -2,7 +2,7 @@ % (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. @@ -10,4 +10,4 @@ % Copyright (C) 2011 Jonathan Masci % % This file is available under the terms of the -% GNU GPLv2. \ No newline at end of file +% GNU GPLv2.