  
                  var_c[i] += np.sign(diff)*0.25
  
          var_c += 0.5
          return [self.transform(var_c[i], center, scale, var_a.shape[2])
                  for i in range(var_a.shape[0])]
  
  
  class FAN():
      """The FAN Model.
      Converted from pyTorch via ONNX from:
 
</s> remove     def __init__(self, model_path, verbose=False, ratio=1.0):
        self.verbose = verbose
 </s> add     def __init__(self, model_path, ratio=1.0):
        # Must import tensorflow inside the spawned process
        # for Windows machines
        import tensorflow as tf
        self.tf = tf
 </s> remove     def crop(self, image, center, scale, resolution=256.0):
 </s> add     def crop(self, image, center, scale, resolution=256.0):  # pylint: disable=too-many-locals </s> remove 
        return [(int(pt[0]), int(pt[1])) for pt in pts_img]
 </s> add         retval = [(int(pt[0]), int(pt[1])) for pt in pts_img]
        logger.trace("Predicted Landmarks: %s", retval)
        return retval
        retval = [self.transform(var_c[i], center, scale, var_a.shape[2])
                  for i in range(var_a.shape[0])]
        logger.trace("Obtained points from prediction: %s", retval)

        return retval
  
                  var_c[i] += np.sign(diff)*0.25
  
          var_c += 0.5
        retval = [self.transform(var_c[i], center, scale, var_a.shape[2])
                  for i in range(var_a.shape[0])]
        logger.trace("Obtained points from prediction: %s", retval)

        return retval
        retval = [self.transform(var_c[i], center, scale, var_a.shape[2])
                  for i in range(var_a.shape[0])]
        logger.trace("Obtained points from prediction: %s", retval)

        return retval
  
  
  class FAN():
      """The FAN Model.
      Converted from pyTorch via ONNX from:
keep keep keep keep replace replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
plugins/extract/align/fan.py