How to log from a custom ai platform model
问题 I recently deployed a custom model to google cloud's ai-platform, and I am trying to debug some parts of my preprocessing logic. However, My print statements are not being logged to the stackdriver output. I have also tried using the logging client imported from google.cloud, to no avail. Here is my custom prediction file: import os import pickle import numpy as np from sklearn.datasets import load_iris import tensorflow as tf from google.cloud import logging class MyPredictor(object): def _