def force_cpu():
    """Force CPU on a GPU system
    """
    import keras.backend as K
    import tensorflow as tf
    config = tf.ConfigProto(device_count={'GPU': 0})
    session = tf.Session(config=config)
    K.set_session(session)
