Gaurav Gola
Gaurav Gola
@sugartom Any solutions ?? I am also getting the same issue Can I use "xyz.index" and "xyz.data-00000-of-00001" created during training yolo for tensorflow serving.
``` def build_model(self): with self.sess.graph.as_default(): x_op = self.sess.graph.get_operation_by_name("input") x = x_op.outputs[0] pred_op = self.sess.graph.get_operation_by_name("output") pred = pred_op.outputs[0] with self.sess.graph.as_default(): prediction_signature = tf.saved_model.signature_def_utils.build_signature_def( inputs={ "input": tf.saved_model.utils.build_tensor_info(x) }, outputs={ "output": tf.saved_model.utils.build_tensor_info(pred) },...
@shivaram93 '/home/gaurav/serving/darkflow/2' > this is tf serving file path where it will save You have to call this method after training ends to make tf serving file format. I am...
@shivaram93 Yes, you can easily train tiny yolov2 on 8GB RAM i7 system Once you will have TF Serving file from build_model() you can deploy and host it on tf...
@anisbhsl checkout the input dimensions of the graph. Might be the reason for invalid graph. Not sure Also follow https://github.com/thtrieu/darkflow/issues/403
@NayanDharviya : I did this with TF 1.11 can you try out with my [repo](https://github.com/gauravgola96/Yolo_deployment/blob/master/export_tfserving.py)
Hey, I am also facing same problem when i tried to use keras Imagegenrator().flow_from_dataframe . Any solution so far?