Guest User

Untitled

a guest
Dec 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. predictions = self.estimator.predict(predict_features)
  2. print("predictions: {}".format(type(predictions)))
  3. while True:
  4. try:
  5. result = next(predictions)
  6. predict_labels.append(result)
  7. except StopIteration:
  8. return predict_labels
  9.  
  10. TypeError: unsupported callable
Add Comment
Please, Sign In to add comment