-
Notifications
You must be signed in to change notification settings - Fork 41
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
unable to execute completely #12
Comments
got a different error: so i skipped running that cell and ran all below, and got another error: |
are you using python3? |
Yes
…On Mon, Jul 2, 2018, 4:31 AM Shanu Kumar ***@***.***> wrote:
are you using python3?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmSqYBU4N2IVs73FyIh-6d_F_Yk_COqHks5uCdpjgaJpZM4U5OpL>
.
|
yes i also using python3 |
someone was also facing the same issue, you can ask them |
@ProxyCasual Hi, have you solved the problem you meet? Input 0: [2,7,1,100] != input 1: [2,1,1,100]. How did you solve it? |
Have you solved this problem? I have the same problem. Traceback (most recent call last): |
Facing the same problem :ValueError Traceback (most recent call last) F:\anaconda\lib\site-packages\tensorflow\python\training\saver.py in restore(self, sess, save_path) ValueError: Can't load save_path when it is None. Please help I am new learner. |
i am trying to run modelv1.
now at following stage new error is occurring:
model = tf.train.latest_checkpoint(model_dir)
saver.restore(sess, model)
error:
INFO:tensorflow:Restoring parameters from None
TypeError Traceback (most recent call last)
TypeError: expected bytes, NoneType found
The above exception was the direct cause of the following exception:
SystemError Traceback (most recent call last)
in ()
1 model = tf.train.latest_checkpoint(model_dir)
----> 2 saver.restore(sess, model)
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/training/saver.py in restore(self, sess, save_path)
1546 logging.info("Restoring parameters from %s", save_path)
1547 sess.run(self.saver_def.restore_op_name,
-> 1548 {self.saver_def.filename_tensor_name: save_path})
1549
1550 @staticmethod
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
787 try:
788 result = self._run(None, fetches, feed_dict, options_ptr,
--> 789 run_metadata_ptr)
790 if run_metadata:
791 proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
995 if final_fetches or final_targets:
996 results = self._do_run(handle, final_targets, final_fetches,
--> 997 feed_dict_string, options, run_metadata)
998 else:
999 results = []
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1130 if handle is None:
1131 return self._do_call(_run_fn, self._session, feed_dict, fetch_list,
-> 1132 target_list, options, run_metadata)
1133 else:
1134 return self._do_call(_prun_fn, self._session, handle, feed_dict,
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1137 def _do_call(self, fn, *args):
1138 try:
-> 1139 return fn(*args)
1140 except errors.OpError as e:
1141 message = compat.as_text(e.message)
/home/snd/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py in _run_fn(session, feed_dict, fetch_list, target_list, options, run_metadata)
1119 return tf_session.TF_Run(session, options,
1120 feed_dict, fetch_list, target_list,
-> 1121 status, run_metadata)
1122
1123 def _prun_fn(session, handle, feed_dict, fetch_list):
SystemError: returned a result with an error set
i would like to know why it is occurring is there any sequence to run different models?
The text was updated successfully, but these errors were encountered: