Skip to content

con not save mode  #304

@cyqluowang

Description

@cyqluowang
with tf.train.MonitoredTrainingSession:

            if sess.should_stop():
                tf_feed.terminate()

            if is_chief:
                signatures = {
                    tf.saved_model.signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY: {
                        'inputs': {'image': input_x},
                        'outputs': {'prediction': pred},
                        'method_name': tf.saved_model.signature_constants.PREDICT_METHOD_NAME
                    }
                }
                TFNode.export_saved_model(sess, args.serving,
                                          tf.saved_model.tag_constants.SERVING,
                                          signatures)

image

no error

log:
2018-07-02 11:53:54,523 INFO (MainThread-31539) No assets to save.
2018-07-02 11:53:54,523 INFO (MainThread-31539) No assets to write.

The program worked well and the training was complete

My guess is that the program ended too quickly to write data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions