how to remove loaded model from RAM?
Created by: glebmikha
Is there a way to clear memory after certain model is loaded? I'm using rusentiment elmo classifier. I've tried:
- tf.keras.backend.clear_session()
- del model and then gc.collect()
- model = None and gc.collect() Nothing worked out.
Is there a best practice for removing loaded model from memory with all its embedding, etc?