yanxp / MetaR-CNN

Meta R-CNN : Towards General Solver for Instance-level Low-shot Learning
https://yanxp.github.io/metarcnn.html
177 stars 23 forks source link

ImportError: sys.meta_path is None, Python is likely shutting down #12

Open Ze-Yang opened 4 years ago

Ze-Yang commented 4 years ago

image When I run this code, I encounter this error. I don't know how to fix it. Your help is highly appreciated.

Hxx2048 commented 4 years ago

i meet this error, too. Have you solved the problem?

yanxp commented 4 years ago

That's maybe your environment is not right.

cxcjcj commented 4 years ago

I encountered the same problem when running my own dataset. However, I did not encounter this problem when running the author dataset. Have you solved the problem? Could you give me some suggestions?

Thank you very much.

Ze-Yang commented 4 years ago

Yes. This is actually due to lib import problem. You should not add lib. in front of the import directory, which makes it malfunction.

cxcjcj commented 4 years ago

Thanks for your reply. Can you tell me which files need to be modified?------------------ 原始邮件 ------------------ 发件人: "Ze-Yang"notifications@github.com 发送时间: 2019年12月7日(星期六) 晚上9:18 收件人: "yanxp/MetaR-CNN"MetaR-CNN@noreply.github.com; 抄送: "cxcjcj"876031584@qq.com;"Comment"comment@noreply.github.com; 主题: Re: [yanxp/MetaR-CNN] ImportError: sys.meta_path is None, Python islikely shutting down (#12)

Yes. This is actually due to lib import problem. You should not add lib. in front of the import directory, which makes it malfunction.

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

cxcjcj commented 4 years ago

Thanks for your reply. Can you tell me which files need to be modified?

cxcjcj commented 4 years ago

Thanks for your reply. Can you tell me which files need to be modified?

Ze-Yang commented 4 years ago

Actually, if you don't modify the original code, this problem won't arise. For me, at that time, I just modified from xxx import zzz to from lib.xxx import zzz, for better debugging, which caused the above error. I am not sure whether your error is caused by the same reason with me. So please first check the import lines in the head of your execute file.

cxcjcj commented 4 years ago

Yes, this error only appeared on my dataset.

JeremyLinky commented 4 years ago

i meet this error, too. Have you solved the problem?

I meet the same problem! Have you fixed it?!