class_docstr: This is the Classification Model training class, that allows you to define a deep learning network
  from the 4 available networks types supported by ImageAI which are MobileNetv2, ResNet50,
  InceptionV3 and DenseNet121.
class_docstr_tok: ["This","is","the","Classification","Model","training","class",",","that","allows","you","to","define","a","deep","learning","network","from","the","4","available","networks","types","supported","by","ImageAI","which","are","MobileNetv2",",","ResNet50",",","InceptionV3","and","DenseNet121","."]
docstr:  'setModelTypeAsDenseNet()' is used to set the model type to the DenseNet model
          for the training instance object .
  :return:
docstr_tok: ["'setModelTypeAsDenseNet","(",")","'","is","used","to","set","the","model","type","to","the","DenseNet","model","for","the","training","instance","object",".",":","return",":"]
code: def setModelTypeAsDenseNet121(self):
      """
       'setModelTypeAsDenseNet()' is used to set the model type to the DenseNet model
              for the training instance object .
      :return:
      """
      self.__modelType = "densenet121"
  
imports: import tensorflow
  from PIL import Image
  import time
  import numpy
  import os
  import warnings
  from matplotlib.cbook import deprecated
  import json
label_desc: Use image node_id 7 for calling the ClassificationModelTrainer obj's underlying member method code with example usage: obj.setModelTypeAsDenseNet121() without return types