original_docstring: 
      Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
      :param model_wrapper:
      :return:
      
docstring: Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
docstring_tokens: Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
code: def prepareGoogleNet_Food101_ECOC_loss(model_wrapper):
      """
      Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
      :param model_wrapper:
      :return:
      """
      # Remove all last layers (from 'inception_5a' included)
      layers_to_delete = ['inception_5a/1x1', 'inception_5a/relu_1x1',
                          'inception_5a/3x3_reduce',
                          'inception_5a/relu_3x3_reduce',
                          'inception_5a/3x3_zeropadding', 'inception_5a/3x3',
                          'inception_5a/relu_3x3',
                          'inception_5a/5x5_reduce',
                          'inception_5a/relu_5x5_reduce',
                          'inception_5a/5x5_zeropadding', 'inception_5a/5x5',
                          'inception_5a/relu_5x5',
                          'inception_5a/pool_zeropadding', 'inception_5a/pool',
                          'inception_5a/pool_proj',
                          'inception_5a/relu_pool_proj', 'inception_5a/output',
                          'inception_5b/1x1',
                          'inception_5b/relu_1x1', 'inception_5b/3x3_reduce',
                          'inception_5b/relu_3x3_reduce',
                          'inception_5b/3x3_zeropadding', 'inception_5b/3x3',
                          'inception_5b/relu_3x3',
                          'inception_5b/5x5_reduce',
                          'inception_5b/relu_5x5_reduce',
                          'inception_5b/5x5_zeropadding', 'inception_5b/5x5',
                          'inception_5b/relu_5x5',
                          'inception_5b/pool_zeropadding', 'inception_5b/pool',
                          'inception_5b/pool_proj',
                          'inception_5b/relu_pool_proj',
                          'inception_5b/output', 'pool5/7x7_s1', 'pool5/drop_7x7_s1',
                          'loss3/classifier_foodrecognition_flatten',
                          'loss3/classifier_foodrecognition']
      [layers, params] = model_wrapper.removeLayers(copy.copy(layers_to_delete))
      # Remove softmax output
      model_wrapper.removeOutputs(['loss3/loss3'])
  
      return ['pool4/3x3_s2',
              [832, 7, 7]]
code_tokens: def prepareGoogleNet_Food101_ECOC_loss ( model_wrapper ) : layers_to_delete = [ 'inception_5a/1x1' , 'inception_5a/relu_1x1' , 'inception_5a/3x3_reduce' , 'inception_5a/relu_3x3_reduce' , 'inception_5a/3x3_zeropadding' , 'inception_5a/3x3' , 'inception_5a/relu_3x3' , 'inception_5a/5x5_reduce' , 'inception_5a/relu_5x5_reduce' , 'inception_5a/5x5_zeropadding' , 'inception_5a/5x5' , 'inception_5a/relu_5x5' , 'inception_5a/pool_zeropadding' , 'inception_5a/pool' , 'inception_5a/pool_proj' , 'inception_5a/relu_pool_proj' , 'inception_5a/output' , 'inception_5b/1x1' , 'inception_5b/relu_1x1' , 'inception_5b/3x3_reduce' , 'inception_5b/relu_3x3_reduce' , 'inception_5b/3x3_zeropadding' , 'inception_5b/3x3' , 'inception_5b/relu_3x3' , 'inception_5b/5x5_reduce' , 'inception_5b/relu_5x5_reduce' , 'inception_5b/5x5_zeropadding' , 'inception_5b/5x5' , 'inception_5b/relu_5x5' , 'inception_5b/pool_zeropadding' , 'inception_5b/pool' , 'inception_5b/pool_proj' , 'inception_5b/relu_pool_proj' , 'inception_5b/output' , 'pool5/7x7_s1' , 'pool5/drop_7x7_s1' , 'loss3/classifier_foodrecognition_flatten' , 'loss3/classifier_foodrecognition' ] [ layers , params ] = model_wrapper . removeLayers ( copy . copy ( layers_to_delete ) ) model_wrapper . removeOutputs ( [ 'loss3/loss3' ] ) return [ 'pool4/3x3_s2' , [ 832 , 7 , 7 ] ]
short_docstring: Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
short_docstring_tokens: Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
comment: """
      Prepares the GoogleNet model for inserting an ECOC structure after removing the last part of the net
      :param model_wrapper:
      :return:
      """$SEP$# Remove all last layers (from 'inception_5a' included)$SEP$# Remove softmax output