# TransferLearningHelper : how to classify single image

**URL:** <https://community.konduit.ai/t/transferlearninghelper-how-to-classify-single-image/1532>\
**Category:** DL4J\
**Created:** [August 6, 2021, 12:46am UTC](https://community.konduit.ai/t/transferlearninghelper-how-to-classify-single-image/1532 "2021-08-06T00:46:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![javaberlin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/javaberlin/32/606_2.png) [@javaberlin](https://community.konduit.ai/u/javaberlin)\
**Post date:** [August 6, 2021, 12:46am UTC](https://community.konduit.ai/t/transferlearninghelper-how-to-classify-single-image/1532/1 "2021-08-06T00:46:28Z")

</div>

Hi, I am trying to classify a single image after creating a model with the “TransferLearningHelper” class. The examples on the dl4j repository just shows how to evaluate the test data set, but does not show how to classify a single image read from the file system , and how to save the vgg16 model - did I understand correctly that after calling the

`transferLearningHelper.fitFeaturized(trainiter.next())`

the vgg16 model is automatically updated , and when I save this model that will be the trained model to use later ? Do I have to use the  
`transferLearningHelper.outputFromFeaturized(...)`  
to classify a single image ?
