Closed xtr33me closed 7 years ago
This sort of question is better asked on stackoverflow, as it is not a specific bug report or feature request. You will likely get a more helpful response if you include a stack trace of your error. Just guessing from the error message you cite, you might find one of these helpful:
http://stackoverflow.com/questions/36281129/no-variable-to-save-error-in-tensorflow
Take a look at #5901 https://github.com/tensorflow/tensorflow/issues/5901
@poxvoculi thanks a bunch bud! Going to close this as I should be able to get my answer in one of these links.
Please create your network or initialize your network before initilizing the Saver.
Thanks @GoingMyWay for taking the time to respond. I unfortunately have still yet to successfully export and host the textsum model. I believe the export is correct now, but I can't be totally positive as I have not been able to get a client connecting to it. If you think you might be able to see where I have gone wrong, in either export_textsum.py or textsum_client.py I would love to hear what you have to say. IF you don't have the time then just disregard :) I appreciate the assist regardless!
@xtr33me were you able to serve the seq2seq model? I am working on this too but I am finding very hard to transfer the serving tutorial to seq2seq. Any help is appreciated. Thanks .
@PratsBhatt Unfortunately not. I am going to be jumping back on this attempt but have ran into wall after wall with this one. Will post here if I ever figure out a solution.
I'm trying to go about setting up the decode functionality from the "textsum" model for TF serving. Upon running the below code I am getting an error stating "no variables to save" when the assignment of Saver(sharded=True) occurs. That aside, I also don't understand what I am supposed to assign to the "classification_signature" and the "named_graph_signature" variables for the exporting of the results via textsum decode.
Any help on what I'm missing here...sure it is a bit.
Code is at the bottom and the stack trace is directly below this: