Skip to content

Commit 82d6c97

Browse files
authored
Update utils.py
1 parent 94a7e75 commit 82d6c97

File tree

1 file changed

+6
-0
lines changed
  • tools/strand_prediction/CRISPRstrand

1 file changed

+6
-0
lines changed

tools/strand_prediction/CRISPRstrand/utils.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
import numpy as np
2+
3+
# disable tensorflow multi-threading
4+
import tensorflow as tf
5+
tf.config.threading.set_inter_op_parallelism_threads(1)
6+
tf.config.threading.set_intra_op_parallelism_threads(1)
7+
28
#import matplotlib.pyplot as plt
39
from keras.models import load_model as lm
410

0 commit comments

Comments
 (0)