lanwuwei / SPM_toolkit

Neural network toolkit for sentence pair modeling.
303 stars 70 forks source link

ImportError: No module named config #7

Open andra-pumnea opened 6 years ago

andra-pumnea commented 6 years ago

I got this error while trying to run main_quora.py in SSE. Where can I find this file or how do I create it? Thanks!

lanwuwei commented 6 years ago

Hi, the config file just defines some file paths. Actually, I didn't use the information in config file, you can delete this line.

funnytestingcase commented 3 years ago

when I run main_mnli.py in SSE, I had the same error, "no module named config". After commenting out all "import config" from , and main_mnli.py>, I have a nameError: global name 'config' is not defined in main_mnli.py. I'm trying to create a config file, but I'm wondering if you can upload your just for reference. Thank you in advance

lanwuwei commented 3 years ago

Sorry about the inconvenience, I just updated the config file: https://github.com/lanwuwei/SPM_toolkit/blob/master/SSE/config.py

Best, Wuwei

From: funnytestingcase notifications@github.com Reply-To: lanwuwei/SPM_toolkit reply@reply.github.com Date: Thursday, January 7, 2021 at 8:12 AM To: lanwuwei/SPM_toolkit SPM_toolkit@noreply.github.com Cc: Wuwei Lan lwwscc@gmail.com, Comment comment@noreply.github.com Subject: Re: [lanwuwei/SPM_toolkit] ImportError: No module named config (#7)

when I run main_mnli.py in SSE, I had the same error, "no module named config". After commenting out all "import config" from , and main_mnli.py>, I have a nameError: global name 'config' is not defined in main_mnli.py. I'm trying to create a config file, but I'm wondering if you can upload your just for reference. Thank you in advance

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/lanwuwei/SPM_toolkit/issues/7#issuecomment-756213736, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACDANXAJML4AKVDDHWBLAN3SYXMNJANCNFSM4FHZTFEA.