          self.kwargs = kwargs["mtcnn_kwargs"]
  
          mtcnn_graph = tf.Graph()
  
          # Windows machines sometimes misreport available vram, and overuse
          # causing OOM. Allow growth fixes that
          config = tf.ConfigProto()
 
</s> remove             sess = tf.Session()
 </s> add             sess = tf.Session(config=config) </s> remove         print("Initializing MTCNN Detector...")
 </s> add  </s> remove             config = tf.ConfigProto()
 </s> add             config = self.tf.ConfigProto()
        # Must import tensorflow inside the spawned process
        # for Windows machines
        import_tensorflow()
        vram_free = self.get_vram_free()
          self.kwargs = kwargs["mtcnn_kwargs"]
  
        # Must import tensorflow inside the spawned process
        # for Windows machines
        import_tensorflow()
        vram_free = self.get_vram_free()
          mtcnn_graph = tf.Graph()
  
          # Windows machines sometimes misreport available vram, and overuse
          # causing OOM. Allow growth fixes that
          config = tf.ConfigProto()
keep add 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/detect/mtcnn.py