yuweihao / KERN

Code for Knowledge-Embedded Routing Network for Scene Graph Generation (CVPR 2019)
MIT License
120 stars 35 forks source link

cannot import name 'calculate_mR_from_evaluator_list' #22

Closed taoqi95 closed 3 years ago

taoqi95 commented 3 years ago

Hello, I encountered the following problem in the process of reproducing the code. How can you solve this problem? Thank you. Traceback (most recent call last): File "models/train_rels.py", line 17, in from lib.evaluation.sg_eval import BasicSceneGraphEvaluator, calculate_mR_from_evaluator_list, eval_entry ImportError: cannot import name 'calculate_mR_from_evaluator_list'

yuweihao commented 3 years ago

Hi @taoqi95 please make sure that you use the updated code by git clone https://github.com/yuweihao/KERN.git.

taoqi95 commented 3 years ago

Thank you.There no errors in your code.My Ubuntu system can not find code current path.  

------------------ 原始邮件 ------------------ 发件人: "Weihao Yu"<notifications@github.com>; 发送时间: 2021年2月15日(星期一) 下午5:01 收件人: "yuweihao/KERN"<KERN@noreply.github.com>; 抄送: "410324026"<410324026@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [yuweihao/KERN] cannot import name 'calculate_mR_from_evaluator_list' (#22)

Hi @taoqi95 please make sure that you use the updated code by git clone https://github.com/yuweihao/KERN.git.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.