You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\paddlehub_ernie_emotion_analysis-main\finetune_ernie.py", line 2, in
import paddlehub as hub
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub_init_.py", line 31, in
from paddlehub import datasets
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets_init_.py", line 16, in
from paddlehub.datasets.chnsenticorp import ChnSentiCorp
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets\chnsenticorp.py", line 19, in
from paddlehub.datasets.base_nlp_dataset import TextClassificationDataset
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets\base_nlp_dataset.py", line 21, in
import paddlenlp
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp_init_.py", line 20, in
from . import ops
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops_init_.py", line 15, in
from .transformer.decoding import *
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops\transformer\decoding.py", line 24, in
from paddlenlp.ops.ext_utils import load
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops\ext_utils.py", line 19, in
if not os.path.exists(CUDA_HOME):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
进程已结束,退出代码1
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "D:\paddlehub_ernie_emotion_analysis-main\finetune_ernie.py", line 2, in
import paddlehub as hub
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub_init_.py", line 31, in
from paddlehub import datasets
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets_init_.py", line 16, in
from paddlehub.datasets.chnsenticorp import ChnSentiCorp
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets\chnsenticorp.py", line 19, in
from paddlehub.datasets.base_nlp_dataset import TextClassificationDataset
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets\base_nlp_dataset.py", line 21, in
import paddlenlp
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp_init_.py", line 20, in
from . import ops
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops_init_.py", line 15, in
from .transformer.decoding import *
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops\transformer\decoding.py", line 24, in
from paddlenlp.ops.ext_utils import load
File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlenlp\ops\ext_utils.py", line 19, in
if not os.path.exists(CUDA_HOME):
^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
进程已结束,退出代码1
The text was updated successfully, but these errors were encountered: