Open sunry1123 opened 4 months ago
是的我也这样,不知道怎末解决
看起来是/.cache/OmniEvent_Model/
下的zipfile未能成功解压缩的问题,你可以手动将/.cache/OmniEvent_Model/
文件夹下的zip文件解压缩。
看起来是
/.cache/OmniEvent_Model/
下的zipfile未能成功解压缩的问题,你可以手动将/.cache/OmniEvent_Model/
文件夹下的zip文件解压缩。
我可以正常下载ed模型,使用事件检测功能模块,但是无法正常下载eae模型,请问是什么原因呀
是的我也这样,不知道怎末解决
请问您解决了吗
- 你可以先到“/.cache/OmniEvent_Model/”文件夹查看模型文件是否下载成功。
- eae模型需要占用比较大的显存,你可以查看下是否是显存oom的问题。
您好,该模型我无法下载成功,请问有什么解决办法呢?
是的我也这样,不知道怎末解决
请问您解决了吗
没有哎,现在因为这个模型已经卡住了
可以手动下载模型到对应的位置
成功安装后运行报错 `from OmniEvent.infer import infer
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 1, in
File "D:\python3.10安装\lib\site-packages\OmniEvent\infer.py", line 135, in infer
eae_model, eae_tokenizer = get_pretrained("s2s-mt5-eae", device)
File "D:\python3.10安装\lib\site-packages\OmniEvent\infer.py", line 67, in get_pretrained
model = get_model(model_args, model_name_or_path)
File "D:\python3.10安装\lib\site-packages\OmniEvent\infer.py", line 57, in get_model
model = get_model_cls(model_args).from_pretrained(path)
File "D:\python3.10安装\lib\site-packages\transformers\modeling_utils.py", line 1840, in from_pretrained
config, model_kwargs = cls.config_class.from_pretrained(
File "D:\python3.10安装\lib\site-packages\transformers\configuration_utils.py", line 534, in from_pretrained
config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, kwargs)
File "D:\python3.10安装\lib\site-packages\transformers\configuration_utils.py", line 561, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, kwargs)
File "D:\python3.10安装\lib\site-packages\transformers\configuration_utils.py", line 656, in _get_config_dict
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like C:\Users\lenovo/.cache/OmniEvent_Model/s2s-mt5-eae is not the path to a directory containing a config.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
![屏幕截图 2024-02-26 224947](https://github.com/THU-KEG/OmniEvent/assets/117873629/7151a301-fc98-456a-924d-8e9c57b17d9a)