Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjohn committed Jul 25, 2022
1 parent 21c2419 commit 14ed2f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alfabet/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def predict(smiles_list, drop_duplicates=True, batch_size=1):
tf.data.experimental.AUTOTUNE
)

bdes, bdfes = model.predict(batched_dataset)
results = model.predict(batched_dataset)
bdes = results[:, 0]
bdfes = results[:, 1]

bde_df = (
pd.DataFrame(bdes.squeeze(axis=-1), index=smiles_list)
Expand Down

0 comments on commit 14ed2f5

Please sign in to comment.