harshS26

Results comments of harshS26

@bidai541 how did you deploy your model ? can you please share your code.

@bidai541 @luozhouyang i did modify the model_helper.py and exported the model using https://github.com/tensorflow/nmt/pull/344 but while making the grpc request i am getting the following error grpc.framework.interfaces.face.face.AbortionError: AbortionError(code=StatusCode.INVALID_ARGUMENT, details="You must feed...

@bidai541 I made changes in exporter.py and the error got resolved. But now i get only one word as output for every input sequence, which i think is because of...

@bharat-robotics try this.. exporter.py ``` def export(self): infer_model = self._create_infer_model() with tf.Session(graph=infer_model.graph, config=tf.ConfigProto(allow_soft_placement=True)) as sess: feature_config = { 'input': tf.FixedLenSequenceFeature(dtype=tf.string, shape=[], allow_missing=True), } inference_input = infer_model.graph.get_tensor_by_name('src_placeholder:0') saver = infer_model.model.saver saver.restore(sess,...

> @harshS26 You are right. This is my inference function in spark cluster. The output is "decoder_output_bm". > > ``` > def predict(iterator): > """ > For each partition, load...

@bidai541 this is the error i get while exporting > KeyError: "The name 'decoder_output_bm:0' refers to a Tensor which does not exist

@bidai541 Thanks...i get proper prediction using your code.

Hi @baishalichaudhury @B1gMinnow , i have attached my code here..you guys can check [nmt.zip](https://github.com/tensorflow/serving/files/3011842/nmt.zip)

@baishalichaudhury I have mailed u the steps taken to export the model

hey @dharm033075 sorry for late reply, did you check my export.py file is it the same? also did u change model_helper.py, model.py & nmt.py?