Skip to content

Commit

Permalink
Update Processing_Im.m
Browse files Browse the repository at this point in the history
  • Loading branch information
lpj0 authored Mar 19, 2019
1 parent 108693e commit 7392bd2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions func/Processing_Im.m
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
function output1 = Processing_Im(im, net, gpu, out_idx)
% tmp = net.params(48).value;
% net.params(48).value = net.params(68).value;
% net.params(68).value = tmp;

input = im2single(im(:,:,1));
if gpu
%input = gpuArray(input*4-2);
input = gpuArray(input);
input = gpuArray(input*4-2);
end
net.eval({'input',input}) ;
%%% output (single)
Expand Down

0 comments on commit 7392bd2

Please sign in to comment.