Это Spyder (Anaconda).
Лог запуска из командной строки :
D:\Jdrey\PyNet\testLoad>python train_pavlov.py >>log.lst
2020-03-13 11:47:32.754 INFO in 'deeppavlov.core.trainers.fit_trainer'['fit_trainer'] at line 68: NNTrainer got additional init parameters ['pytest_max_batches', 'pytest_batch_size'] that will be ignored:
WARNING:tensorflow:From D:\anaconda\lib\site-packages\deeppavlov\core\trainers\nn_trainer.py:149: The name tf.summary.FileWriter is deprecated. Please use tf.compat.v1.summary.FileWriter instead.
Traceback (most recent call last):
File "train_pavlov.py", line 15, in <module>
ner_ontonotes_model = train_model(configs.ner.ner_ontonotes_bert)
File "D:\anaconda\lib\site-packages\deeppavlov\__init__.py", line 32, in train_model
train_evaluate_model_from_config(config, download=download, recursive=recursive)
File "D:\anaconda\lib\site-packages\deeppavlov\core\commands\train.py", line 121, in train_evaluate_model_from_config
trainer.train(iterator)
File "D:\anaconda\lib\site-packages\deeppavlov\core\trainers\nn_trainer.py", line 333, in train
self.fit_chainer(iterator)
File "D:\anaconda\lib\site-packages\deeppavlov\core\trainers\fit_trainer.py", line 104, in fit_chainer 11:49
component = from_params(component_config, mode='train')
File "D:\anaconda\lib\site-packages\deeppavlov\core\common\params.py", line 95, in from_params
obj = get_model(cls_name)
File "D:\anaconda\lib\site-packages\deeppavlov\core\common\registry.py", line 72, in get_model
return cls_from_str(_REGISTRY[name])
File "D:\anaconda\lib\site-packages\deeppavlov\core\common\registry.py", line 40, in cls_from_str
return getattr(importlib.import_module(module_name), cls_name)
File "D:\anaconda\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "D:\anaconda\lib\site-packages\deeppavlov\models\__init__.py", line 17, in <module>
import nltk
File "D:\anaconda\lib\site-packages\nltk\__init__.py", line 150, in <module>
from nltk.translate import *
File "D:\anaconda\lib\site-packages\nltk\translate\__init__.py", line 23, in <module>
from nltk.translate.meteor_score import meteor_score as meteor
File "D:\anaconda\lib\site-packages\nltk\translate\meteor_score.py", line 10, in <module>
from nltk.stem.porter import PorterStemmer
File "D:\anaconda\lib\site-packages\nltk\stem\__init__.py", line 29, in <module>
from nltk.stem.snowball import SnowballStemmer
File "D:\anaconda\lib\site-packages\nltk\stem\snowball.py", line 32, in <module>
from nltk.corpus import stopwords
File "D:\anaconda\lib\site-packages\nltk\corpus\__init__.py", line 66, in <module>
from nltk.corpus.reader import *
File "D:\anaconda\lib\site-packages\nltk\corpus\reader\__init__.py", line 105, in <module>
from nltk.corpus.reader.panlex_lite import *
File "D:\anaconda\lib\site-packages\nltk\corpus\reader\panlex_lite.py", line 15, in <module>
import sqlite3
File "D:\anaconda\lib\sqlite3\__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "D:\anaconda\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed: Не найден указанный модуль.
То есть проблема в том, что требуется модуль _sqlite3 ?
pip list вернул :
Package Version
---------------------------------- ------------------
absl-py 0.9.0
aio-pika 6.4.1
aiormq 3.2.1
alabaster 0.7.12
anaconda-client 1.7.2
anaconda-navigator 1.9.7
anaconda-project 0.8.3
asn1crypto 1.0.1
astor 0.8.1
astroid 2.3.1
astropy 3.2.1
atomicwrites 1.3.0
attrs 19.2.0
Babel 2.7.0
backcall 0.1.0
backports.functools-lru-cache 1.3
backports.os 0.1.1
backports.shutil-get-terminal-size 1.0.0
backports.tempfile 1.0
backports.weakref 1.0.post1
beautifulsoup4 4.8.0
bert-dp 1.0
bitarray 1.0.1
bkcharts 0.2
bleach 3.1.0
bokeh 1.3.4
boto 2.49.0
Bottleneck 1.2.1
cachetools 4.0.0
certifi 2019.9.11
cffi 1.12.3
chardet 3.0.4
Click 7.0
cloudpickle 1.2.2
clyent 1.2.2
colorama 0.4.1
comtypes 1.1.7
conda 4.8.2
conda-build 3.18.9
conda-package-handling 1.6.0
conda-verify 3.4.2
contextlib2 0.6.0
cryptography 2.8
cycler 0.10.0
Cython 0.29.14
cytoolz 0.10.0
dask 2.5.2
DAWG-Python 0.7.2
decorator 4.4.0
deeppavlov 0.8.0
defusedxml 0.6.0
dill 0.3.1.1
distributed 2.5.2
docopt 0.6.2
docutils 0.15.2
docx2txt 0.8
entrypoints 0.3
et-xmlfile 1.0.1
fast-histogram 0.7
fastapi 0.47.1
fastcache 1.1.0
filelock 3.0.12
Flask 1.1.1
fsspec 0.5.2
future 0.17.1
fuzzywuzzy 0.17.0
gast 0.2.2
gevent 1.4.0
glob2 0.7
glue-core 0.15.6
glue-vispy-viewers 0.12.2
glueviz 0.15.2
google-auth 1.10.0
google-auth-oauthlib 0.4.1
google-pasta 0.1.8
greenlet 0.4.15
grpcio 1.26.0
h11 0.9.0
h5py 2.10.0
HeapDict 1.0.1
html5lib 1.0.1
idna 2.8
imageio 2.6.0
imagesize 1.1.0
importlib-metadata 0.23
ipykernel 5.1.2
ipython 7.8.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
isort 4.3.21
itsdangerous 1.1.0
jdcal 1.4.1
jedi 0.15.1
Jinja2 2.10.3
joblib 0.13.2
json5 0.8.5
jsonschema 3.0.2
jupyter 1.0.0
jupyter-client 5.3.3
jupyter-console 6.0.0
jupyter-core 4.5.0
jupyterlab 1.1.4
jupyterlab-server 1.0.6
Keras 2.3.1
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.0
keyring 18.0.0
kiwisolver 1.1.0
lazy-object-proxy 1.4.2
libarchive-c 2.8
llvmlite 0.29.0
locket 0.2.0
lxml 4.4.1
Markdown 3.1.1
MarkupSafe 1.1.1
matplotlib 3.1.1
mccabe 0.6.1
menuinst 1.4.16
mistune 0.8.4
mkl-fft 1.0.14
mkl-random 1.1.0
mkl-service 2.3.0
mock 3.0.5
more-itertools 7.2.0
mpl-scatter-density 0.6
mpmath 1.1.0
msgpack 0.6.1
multidict 4.7.5
multipledispatch 0.6.0
natasha 0.10.0
navigator-updater 0.2.1
nbconvert 5.6.0
nbformat 4.4.0
networkx 2.3
nltk 3.4.5
nose 1.3.7
notebook 6.0.1
numba 0.45.1
numexpr 2.7.0
numpy 1.18.0
numpydoc 0.9.1
oauthlib 3.1.0
olefile 0.46
openpyxl 3.0.0
opt-einsum 3.1.0
overrides 2.7.0
packaging 19.2
pamqp 2.3.0
pandas 0.25.3
pandocfilters 1.4.2
parso 0.5.1
partd 1.0.0
path.py 12.0.1
pathlib2 2.3.5
patsy 0.5.1
pep8 1.7.1
pickleshare 0.7.5
Pillow 6.2.0
pip 19.3.1
pkginfo 1.5.0.1
plotly 4.4.1
pluggy 0.13.0
ply 3.11
prometheus-client 0.7.1
prompt-toolkit 2.0.10
protobuf 3.11.2
psutil 5.6.3
py 1.8.0
pyasn1 0.4.8
pyasn1-modules 0.2.7
pybind11 2.4.3
pycodestyle 2.5.0
pycosat 0.6.3
pycparser 2.19
pycrypto 2.6.1
pycurl 7.43.0.3
pydantic 1.3
pyflakes 2.1.1
Pygments 2.4.2
pylint 2.4.2
pymorphy2 0.8
pymorphy2-dicts 2.4.393442.3710985
pymorphy2-dicts-ru 2.4.404381.4453942
pyodbc 4.0.27
PyOpenGL 3.1.1a1
pyOpenSSL 19.1.0
pyparsing 2.4.2
pyreadline 2.1
pyrsistent 0.15.4
PySocks 1.7.1
pyTelegramBotAPI 3.6.7
pytest 5.2.1
pytest-arraydiff 0.3
pytest-astropy 0.5.0
pytest-doctestplus 0.4.0
pytest-openfiles 0.4.0
pytest-remotedata 0.3.2
python-dateutil 2.8.0
python-docx 0.8.10
pytz 2019.3
PyWavelets 1.0.3
pywin32 223
pywinpty 0.5.5
PyYAML 5.1.2
pyzmq 18.1.0
QtAwesome 0.6.0
qtconsole 4.5.5
QtPy 1.9.0
requests 2.22.0
requests-oauthlib 1.3.0
retrying 1.3.3
rope 0.14.0
rsa 4.0
ruamel-yaml 0.15.46
rusenttokenize 0.0.5
scikit-image 0.15.0
scikit-learn 0.21.2
scipy 1.4.1
seaborn 0.9.0
Send2Trash 1.5.0
setuptools 41.4.0
simplegeneric 0.8.1
singledispatch 3.4.0.3
six 1.12.0
snowballstemmer 2.0.0
sortedcollections 1.1.2
sortedcontainers 2.1.0
soupsieve 1.9.3
Sphinx 2.2.0
sphinxcontrib-applehelp 1.0.1
sphinxcontrib-devhelp 1.0.1
sphinxcontrib-htmlhelp 1.0.2
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.2
sphinxcontrib-serializinghtml 1.1.3
sphinxcontrib-websupport 1.1.2
spyder 3.3.6
spyder-kernels 0.5.2
SQLAlchemy 1.3.9
starlette 0.12.9
statsmodels 0.10.1
sympy 1.4
tables 3.5.2
tblib 1.4.0
tensorboard 1.15.0
tensorflow 1.15.2
tensorflow-estimator 1.15.1
tensorflow-hub 0.7.0
termcolor 1.1.0
terminado 0.8.2
testpath 0.4.2
toolz 0.10.0
tornado 6.0.3
tqdm 4.41.1
traitlets 4.3.3
unicodecsv 0.14.1
urllib3 1.24.2
uvicorn 0.11.1
wcwidth 0.1.7
webencodings 0.5.1
websockets 8.1
Werkzeug 0.16.0
wheel 0.33.6
widgetsnbextension 3.5.1
win-inet-pton 1.1.0
win-unicode-console 0.5
wincertstore 0.2
wrapt 1.11.2
xlrd 1.2.0
XlsxWriter 1.2.1
xlwings 0.15.10
xlwt 1.3.0
yargy 0.12.0
yarl 1.4.2
zict 1.0.0
zipp 0.6.0
Что касается GPU: отдельно я ничего не дописывала/настраивала. По умолчанию, вроде бы нет использования GPU?