Closed xu-2019 closed 3 years ago
谢谢您,还有一个问题,我在谷歌云中上传整个文件后,pip install pyabsa,之后运行aspect_term_extraction/extract_aspects.py文件,出现错误如下:
Traceback (most recent call last):
File "examples/aspect_term_extraction/extract_aspects.py", line 8, in
尝试了安装该模块也不行,请问接下来怎么弄呀?
感谢您的反馈,刚刚修复了这个问题,请更新版本pip install pyabsa==0.6.6.1
我没有在谷歌云上测试过,如果遇到了其他问题欢迎反馈,感谢
您好,刚才那个py文件还是不能正常运行,出现错误如下:
Traceback (most recent call last):
File "examples/aspect_term_extraction/extract_aspects.py", line 36, in
我运行笔记本是GPU类型的
您好,刚才那个py文件还是不能正常运行,出现错误如下: Traceback (most recent call last): File "examples/aspect_term_extraction/extract_aspects.py", line 36, in auto_device=True # False means load model on CPU File "/usr/local/lib/python3.7/dist-packages/pyabsa/functional.py", line 136, in load_aspect_extractor raise RuntimeError('Not a valid model path!') RuntimeError: Not a valid model path!
我运行笔记本是GPU类型的
请问您是否从Google Drive上下载了最新的模型并修改代码中模型的路径? https://drive.google.com/drive/folders/19DxUn0ahL6e8VB7bcJ-z_eFH3Pw_Jnn2
我没有从Google Drive中下载,是刚从您github中下载封装的PyABSA,解压然后上传到从Google Drive中的,运行路径是examples/aspect_term_extraction/extract_aspects.py,您分享在Google Drive中的不是运行日志结果吗?
我没有从Google Drive中下载,是刚从您github中下载封装的PyABSA,解压然后上传到从Google Drive中的,运行路径是examples/aspect_term_extraction/extract_aspects.py,您分享在Google Drive中的不是运行日志结果吗?
你运行的是抽取方面的脚本,需要加载已经训练的模型,我在Google drive上传了已训练了的模型。如果你准备训练模型请使用train开头的脚本。
我没有从Google Drive中下载,是刚从您github中下载封装的PyABSA,解压然后上传到从Google Drive中的,运行路径是examples/aspect_term_extraction/extract_aspects.py,您分享在Google Drive中的不是运行日志结果吗?
我没有从Google Drive中下载,是刚从您github中下载封装的PyABSA,解压然后上传到从Google Drive中的,运行路径是examples/aspect_term_extraction/extract_aspects.py,您分享在Google Drive中的不是运行日志结果吗?
训练模型请使用这几个示例脚本
好的,谢谢您的耐心解答。
好的,谢谢您的耐心解答。
不用谢,有反馈才能有改进,祝研究顺利!
您好,我想做方面术语提取任务、想知道您的atepc- dataset格式是怎么转换的,应该看哪个py文件呢