Skip to content
Snippets Groups Projects
Commit 01affd07 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

attempt fix deadlock

parent 5e1cd4f6
No related merge requests found
......@@ -381,6 +381,9 @@ def calibrate_percentile_ranks(allele, predictor, peptides=None):
Private helper function.
"""
global GLOBAL_DATA
Class1NeuralNetwork.clear_model_cache()
import keras.backend as K
K.clear_session()
if peptides is None:
peptides = GLOBAL_DATA["calibration_peptides"]
if isinstance(predictor, str):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment