model-analysis
model-analysis copied to clipboard
Is line #96 of examples/chicago_taxi/model.py example a bug ?
https://github.com/tensorflow/model-analysis/blob/2fb97d4d6bac1b800c340ca9a6f2393bd5169cf2/examples/chicago_taxi/trainer/model.py#L96
The tf.estimator.export.ServingInputReceiver has only a constructor with 2 parameters which are features and receiver_tensors. But in line#96 ServingInputReceiver is created with 2 parameters : transformed_features and serving_input_receiver.features, no receiver_tensors.
You are right, this is indeed a bug. It should pass serving_input_receiver.receiver_tensors as the second argument instead.
@chuanyu - Is this fixed now ?
Yes, this has been fixed.