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
D:\Anaconda\envs\torch\python.exe D:/NLP/code/BERT_tutorial/Sentiment_Training.py
Traceback (most recent call last):
File "D:/NLP/code/BERT_tutorial/Sentiment_Training.py", line 4, in
from dataset.sentiment_dataset_v2 import CLSDataset
File "D:\NLP\code\BERT_tutorial\dataset\sentiment_dataset_v2.py", line 7, in
from sklearn.utils import shuffle
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn_init_.py", line 82, in
from .base import clone
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn\base.py", line 20, in
from .utils import IS_32BIT
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn\utils_init.py", line 20, in
from scipy.sparse import issparse
File "D:\Anaconda\envs\torch\lib\site-packages\scipy\sparse_init_.py", line 230, in
from .base import *
File "D:\Anaconda\envs\torch\lib\site-packages\scipy\sparse\base.py", line 9, in
from scipy._lib.numpy_compat import broadcast_to
File "D:\Anaconda\envs\torch\lib\site-packages\scipy_lib_numpy_compat.py", line 16, in assert_warns = np.testing.assert_warns
File "D:\Anaconda\envs\torch\lib\site-packages\numpy_init.py", line 213, in getattr
import numpy.testing as testing
File "D:\Anaconda\envs\torch\lib\site-packages\numpy\testing_init.py", line 12, in
from .private.utils import *
File "D:\Anaconda\envs\torch\lib\site-packages\numpy\testing_private\utils.py", line 57, in
HAS_LAPACK64 = hasattr(numpy.config, 'lapack_ilp64_opt_info')
File "D:\Anaconda\envs\torch\lib\site-packages\numpy_init.py", line 220, in getattr
"{!r}".format(name, attr))
AttributeError: module 'numpy' has no attribute 'config'
不知道是不是因为和题主的版本不一样的原因,题主能说一下各个包的版本么
The text was updated successfully, but these errors were encountered:
D:\Anaconda\envs\torch\python.exe D:/NLP/code/BERT_tutorial/Sentiment_Training.py
Traceback (most recent call last):
File "D:/NLP/code/BERT_tutorial/Sentiment_Training.py", line 4, in
from dataset.sentiment_dataset_v2 import CLSDataset
File "D:\NLP\code\BERT_tutorial\dataset\sentiment_dataset_v2.py", line 7, in
from sklearn.utils import shuffle
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn_init_.py", line 82, in
from .base import clone
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn\base.py", line 20, in
from .utils import IS_32BIT
File "D:\Anaconda\envs\torch\lib\site-packages\sklearn\utils_init.py", line 20, in
from scipy.sparse import issparse
File "D:\Anaconda\envs\torch\lib\site-packages\scipy\sparse_init_.py", line 230, in
from .base import *
File "D:\Anaconda\envs\torch\lib\site-packages\scipy\sparse\base.py", line 9, in
from scipy._lib.numpy_compat import broadcast_to
File "D:\Anaconda\envs\torch\lib\site-packages\scipy_lib_numpy_compat.py", line 16, in
assert_warns = np.testing.assert_warns
File "D:\Anaconda\envs\torch\lib\site-packages\numpy_init.py", line 213, in getattr
import numpy.testing as testing
File "D:\Anaconda\envs\torch\lib\site-packages\numpy\testing_init.py", line 12, in
from .private.utils import *
File "D:\Anaconda\envs\torch\lib\site-packages\numpy\testing_private\utils.py", line 57, in
HAS_LAPACK64 = hasattr(numpy.config, 'lapack_ilp64_opt_info')
File "D:\Anaconda\envs\torch\lib\site-packages\numpy_init.py", line 220, in getattr
"{!r}".format(name, attr))
AttributeError: module 'numpy' has no attribute 'config'
不知道是不是因为和题主的版本不一样的原因,题主能说一下各个包的版本么
The text was updated successfully, but these errors were encountered: