Skip to content

Commit 63320ae

Browse files
Update EnhancerDetector.ipynb
1 parent bdac044 commit 63320ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EnhancerDetector.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
"similar_sequences_file = f'Test_Input/input_human.fasta'\n",
7070
"\n",
7171
"model_folder = 'Models/'\n",
72-
"human_network = f'{model_folder}/Human/Single_Classifier_64_3_20.keras'\n",
73-
"human_indexer_dir = f'{model_folder}/Human/indexer.pkl'\n",
72+
"network = f'{model_folder}/Human/Single_Classifier_64_3_20.keras'\n",
73+
"indexer_dir = f'{model_folder}/Human/indexer.pkl'\n",
7474
"\n",
7575
"output_dir = f'Output'\n",
7676
"\n",
@@ -132,9 +132,9 @@
132132
"outputs": [],
133133
"source": [
134134
"if not use_fly:\n",
135-
" model = load_model(human_network, custom_objects={'CustomConvLayer': CustomConvLayer, 'specificity': specificity, 'weighted_f1_score': weighted_f1_score})\n",
135+
" model = load_model(network, custom_objects={'CustomConvLayer': CustomConvLayer, 'specificity': specificity, 'weighted_f1_score': weighted_f1_score})\n",
136136
" \n",
137-
" with open(human_indexer, 'rb') as f:\n",
137+
" with open(indexer, 'rb') as f:\n",
138138
" indexer = pickle.load(f)"
139139
]
140140
},

0 commit comments

Comments
 (0)