Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- predictions = self.estimator.predict(predict_features)
- print("predictions: {}".format(type(predictions)))
- while True:
- try:
- result = next(predictions)
- predict_labels.append(result)
- except StopIteration:
- return predict_labels
- TypeError: unsupported callable
Add Comment
Please, Sign In to add comment