fastHan
fastHan copied to clipboard
您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\\fasthan_large\\all_tasks.json'
您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json',不知道什么原因?
你用的是fasthan2.0吗?切到1.8试试
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: sxj7473710 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.***> 主题: 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: @.***>
感谢您的回复,就是不知道怎么切换到1.8?
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 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.***> 主题: 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: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
感谢您的回复,知道怎么找了,谢谢
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 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.***> 主题: 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: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
您好,我如果在代码中联网下载模型的时候报错: ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)')) 如果我把模型参数下载到本地运行的话,目录如下图
,报错又是这个:
FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_base\all_tasks.json' ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)'))ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)'))
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 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.***> 主题: 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: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
这个看起来版本还是没换啊,要不你先uninstall现在的fasthan,再install 1.8的。2.0的fasthan不是我做的,现在没人维护的
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: sxj7473710 @.> 发送时间: 2023年11月22日 09:39 收件人: fastnlp/fastHan @.> 抄送: Zhichao Geng @.>, Comment @.> 主题: Re: [fastnlp/fastHan] 您好,本地使用模型时总是报错FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_large\all_tasks.json' (Issue #53)
您好,我如果在代码中联网下载模型的时候报错: ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)')) 如果我把模型参数下载到本地运行的话,目录如下图
,报错又是这个:
FileNotFoundError: [Errno 2] No such file or directory: 'E:\fasthan_base\all_tasks.json' ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)'))ConnectTimeout: HTTPConnectionPool(host='download.fastnlp.top', port=80): Max retries exceeded with url: /fasthan/fasthan.zip (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x000001B3764F43D0>, 'Connection to download.fastnlp.top timed out. (connect timeout=None)'))
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: @.>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
您好,切换了,
运行代码联网依然是这个, 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 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.***> 主题: 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: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>
请问你解决这个问题了吗
您好,切换了, 运行代码联网依然是这个, 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 @.> 发送时间: 2023年11月21日 10:58 收件人: fastnlp/fastHan @.> 抄送: Subscribed @.> 主题: 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: @.> — 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。这样就可以了
请问你解决这个问题了吗
重新下载anaconda,然后直接安装fastHan:pip install fastHan==1.8。这之前不要安装其它包。另外我的anaconda是2022年的版本,基于python3.9的。