Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. im_ = (imdb.images.data(:,:,:,test_image(:,1))) ;
  2. res = vl_simplenn(net, im) ;
  3. figure(3) ; clf ;
  4. decodeCharacters(net, imdb, im_, res) ;
  5. [score(i),pred(i)] = max(squeeze(res(end).x(1,i,:))) ;
  6. fprintf('Predicted class: %sn', imdb.meta.classes(pred)) ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement