-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi,
I am interested in trying out your work and faced this error when I followed the instruction under "Use Pretreined Model":
Traceback (most recent call last):
File "psc_kmed.py", line 248, in <module>
psc_clf = PairwiseSentenceClassifier(config)
File "/home/kimihiro/workspace/picking-apart-story-salads/pairwise_classifier.py", line 51, in __init__
self.__load_saved_graph()
File "/home/kimihiro/workspace/picking-apart-story-salads/pairwise_classifier.py", line 246, in __load_saved_graph
self.saver = tf.train.import_meta_graph(self.config['restore_dir'] + self.config['restore_name'])
File "/projects/tir6/general/kimihiro/miniconda3/envs/salad/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 1449, in import_meta_graph
**kwargs)[0]
File "/projects/tir6/general/kimihiro/miniconda3/envs/salad/lib/python3.7/site-packages/tensorflow/python/training/saver.py", line 1463, in _import_meta_graph_with_return_elements
meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file)
File "/projects/tir6/general/kimihiro/miniconda3/envs/salad/lib/python3.7/site-packages/tensorflow/python/framework/meta_graph.py", line 684, in read_meta_graph_file
raise IOError("File %s does not exist." % filename)
OSError: File pretrained_model/mutual-attention-plus-context.meta does not exist.
It seems pretrained_model/mutual-attention-plus-context.meta
is missing. I am wondering if you could also provide the file.
Also, I wonder which version of the Tensorflow you were using. I am using the TensorFlow version 1.14, as tensorflow.contrib
is not available in the latest version, following this issue.
Thank you for your time in advance.
Metadata
Metadata
Assignees
Labels
No labels