code: def train_start(self, network, **kwargs):
      if kwargs["batch_size"] is None:
          self.n_batches = 1
          return
  
      self.n_batches = iters.count_minibatches(
          kwargs["X_train"], kwargs["batch_size"]
      )
  
imports: from __future__ import unicode_literals
  import time
  import progressbar
  from neupy.utils import iters
label_desc: Use image node_id 1 for calling the ProgressbarSignal obj's underlying member method code with example usage: obj.train_start(network) without return types