Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- im_ = (imdb.images.data(:,:,:,test_image(:,1))) ;
- res = vl_simplenn(net, im) ;
- figure(3) ; clf ;
- decodeCharacters(net, imdb, im_, res) ;
- [score(i),pred(i)] = max(squeeze(res(end).x(1,i,:))) ;
- fprintf('Predicted class: %sn', imdb.meta.classes(pred)) ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement