Spaces:
Running
Running
Vikas Upadhyay commited on
Commit ·
eae99f5
1
Parent(s): c0a3508
Update main.py
Browse files119 unmodified lines120121122123124125126127128129130131132133134135136119 unmodified linesreturn prediction_vals[0][0]# loaded_model = load_modelfile('./../CNN_results/model_final.model')# KEGG_compound_read = pd.read_csv('./../CNN_data/Final_test/kegg_compound.csv', index_col = 'Compound_ID')# kegg_df = KEGG_compound_read.reset_index()def main():graph = tf.compat.v1.get_default_graph()ld_model = tf.keras.models.load_model('./../CNN_results_split_final/Final_model.model')KEGG_compound_read = pd.read_csv('./../CNN_data/Final_test/kegg_compound.csv', index_col = 'Compound_ID')kegg_df = KEGG_compound_read.reset_index()119 unmodified lines120121122123124125126127128129130119 unmodified linesreturn prediction_vals[0][0]def main():graph = tf.compat.v1.get_default_graph()ld_model = tf.keras.models.load_model('./CNN_model_final/Final_model.model')KEGG_compound_read = pd.read_csv('./CNN_data_kegg/kegg_compound.csv', index_col = 'Compound_ID')kegg_df = KEGG_compound_read.reset_index()
main.py+2-8