Commit e39c4a01 authored by Patrick Hop's avatar Patrick Hop Committed by GitHub
Browse files

Update graph_models.py

integer division bug in python3 ?resolved?
parent 341b7ed7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -719,7 +719,7 @@ class GraphConvTensorGraph(TensorGraph):

  def predict_on_smiles(self, smiles, transformers):
    max_index = len(smiles)
    num_batches = max_index / self.batch_size
    num_batches = max_index // self.batch_size

    y_ = []
    for i in range(num_batches):