  from __future__ import absolute_import, division, print_function
  
  import cv2
  import numpy as np
  # pylint:disable=import-error
  from keras.layers import Conv2D, Dense, Flatten, Input, MaxPool2D, Permute, PReLU
  from lib.model.session import KSession
  from ._base import Detector, logger
  
  
  class Detect(Detector):
 
</s> remove import keras  # pylint:disable=import-error
import keras.backend as K  # pylint:disable=import-error
from keras.layers import Concatenate, Conv2D, Input, Maximum, MaxPooling2D, ZeroPadding2D
 </s> add 
  from __future__ import absolute_import, division, print_function
  
  import cv2
  import numpy as np


  from lib.model.session import KSession
  from ._base import Detector, logger
  
  
  class Detect(Detector):
keep keep keep keep replace replace keep keep keep keep keep
 Update all Keras Imports to be conditional (#1214)

* Remove custom keras importer

* first round keras imports fix

* launcher.py: Remove KerasFinder references

* 2nd round keras imports update (lib and extract)

* 3rd round keras imports update (train)

* remove KerasFinder from tests

* 4th round keras imports update (tests) 
plugins/extract/detect/mtcnn.py