这里我得到了一个导入错误,但是它没有指定我在哪个文件中得到这个错误。请查看异常跟踪
(py36) pratyusha@pratyusha-Q304UAK:~/Projects/ronin$ python Retrieval-Eval.py
No handlers could be found for logger "gensim.models.doc2vec"
<IPython.core.display.HTML object>
2018-03-14 02:53:15,922 - neon.neon - DISPLAY - dataset files /home/pratyusha/Projects/ronin/neon/examples/skipthought/output/doc__books_txt_1_.h5 and vocabulary file /home/pratyusha/Projects/ronin/neon/examples/skipthought/output/doc__books_txt_1_.vocab already exist. will use cached data.
2018-03-14 02:53:15,923 - neon.neon - DISPLAY -
Vocab size from the dataset is: 257
Traceback (most recent call last):
File "Retrieval-Eval.py", line 485, in <module>
e = evaluate(dialogue, dtype="str", concept_weight=1.0, task_weight=0)
File "Retrieval-Eval.py", line 249, in evaluate
retrieval2 = get_skipsim_matches(selected=questions, dtype="str", conceptW=concept_weight, taskW=task_weight) #HERE !!!!!!!!!!!!!
File "Retrieval-Eval.py", line 447, in get_skipsim_matches
conceptDictionary = get_skipsim_concept_dictionary(selected[1:], dtype)
File "Retrieval-Eval.py", line 465, in get_skipsim_concept_dictionary
scores = get_list_skipsim_scores(selected, dialogue, dtype)
File "Retrieval-Eval.py", line 431, in get_list_skipsim_scores
score = st.get_sim_score(q1, q2)
File "/home/pratyusha/Projects/ronin/neon/examples/skipthought/inference.py", line 133, in get_sim_score
a = self.get_sentence_vec(text1)
File "/home/pratyusha/Projects/ronin/neon/examples/skipthought/inference.py", line 80, in get_sentence_vec
model_dict = load_obj(args.model_file)
File "/home/pratyusha/Projects/ronin/neon/neon/util/persist.py", line 156, in load_obj
return pickle_load(load_path)
File "/home/pratyusha/Projects/ronin/neon/neon/util/compat.py", line 54, in pickle_load
return pickle.load(filepath)
ImportError: No module named layers.recurrent
我没有关于重复层在持久性.py或者兼容在
目前没有回答
相关问题 更多 >
编程相关推荐