Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\\fasthan_large\\all_tasks.json' #53

Open
sxj7473710 opened this issue Nov 21, 2023 · 9 comments

Comments

@sxj7473710
Copy link

您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json',不知道什么原因?

@fdugzc
Copy link
Member

fdugzc commented Nov 21, 2023 via email

@sxj7473710
Copy link
Author

sxj7473710 commented Nov 22, 2023 via email

@sxj7473710
Copy link
Author

sxj7473710 commented Nov 22, 2023 via email

@sxj7473710
Copy link
Author

sxj7473710 commented Nov 22, 2023 via email

@fdugzc
Copy link
Member

fdugzc commented Nov 22, 2023 via email

@sxj7473710
Copy link
Author

sxj7473710 commented Nov 22, 2023 via email

@Nancis1130
Copy link

请问你解决这个问题了吗

@finch-f
Copy link

finch-f commented Jun 8, 2024

您好,切换了, 运行代码联网依然是这个, ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764EDC90>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)')) 使用网上下载的模型参数在本地运行,报错 FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_base\all_tasks.json' FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_base\all_tasks.json' sxj @.***  

------------------ 原始邮件 ------------------ 发件人: "fastnlp/fastHan" @.>; 发送时间: 2023年11月21日(星期二) 中午11:59 @.>; @.@.>; 主题: Re: [fastnlp/fastHan] 您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json' (Issue #53) 你用的是fasthan2.0吗?切到1.8试试 发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: sxj7473710 @.&gt; 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.&gt; 抄送: Subscribed @.&gt; 主题: Re: [fastnlp/fastHan] 您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json' (Issue #53) 您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json',不知道什么原因? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.&gt; — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

重新下载anaconda,然后直接安装fastHan: pip install fastHan==1.8。这样就可以了

@finch-f
Copy link

finch-f commented Jun 8, 2024

请问你解决这个问题了吗

重新下载anaconda,然后直接安装fastHan:pip install fastHan==1.8。这之前不要安装其它包。另外我的anaconda是2022年的版本,基于python3.9的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants