Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to restore final trained model?? #110

Open
techjjun opened this issue Nov 7, 2019 · 0 comments
Open

How to restore final trained model?? #110

techjjun opened this issue Nov 7, 2019 · 0 comments

Comments

@techjjun
Copy link

techjjun commented Nov 7, 2019

I want to use ENAS arch to inference my own dataset, so I modified the original code to use placeholder input
e.g)

 loss, lr, gn, tr_acc, _ = sess.run(run_ops, feed_dict={child_ops["X"]:images["train"][i*batch:(i+1)*batch],
                                                                           child_ops["Y"]:labels["train"][i*batch:(i+1)*batch],

and naming the last output tensor like
self.train_preds = tf.argmax(logits, axis=1, name="output")

but restoring the checkpoint file with raw tf.Session(), it keeps throwing the same digits (MNIST)

any advice for this??
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant