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
{{ message }}
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
(pytvenv) joshnoble@ip-10-1-0-242:~/pytext$ pytext
Traceback (most recent call last):
File "/home/joshnoble/pytext/pytvenv/bin/pytext", line 33, in <module>
sys.exit(load_entry_point('pytext-nlp==0.3.3', 'console_scripts', 'pytext')())
File "/home/joshnoble/pytext/pytvenv/bin/pytext", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.8/importlib/metadata.py", line 75, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/__init__.py", line 12, in <module>
from pytext.data.sources.data_source import DataSource
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/data/__init__.py", line 12, in <module>
from .data import Batcher, Data, PoolingBatcher, generator_iterator
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/data/data.py", line 20, in <module>
from .tensorizers import MetricTensorizer, Tensorizer, initialize_tensorizers
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/data/tensorizers.py", line 24, in <module>
from pytext.data.tokenizers import Token, Tokenizer
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/data/tokenizers/__init__.py", line 4, in <module>
from .tokenizer import (
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/data/tokenizers/tokenizer.py", line 15, in <module>
from pytext.torchscript.tokenizer import ScriptDoNothingTokenizer, ScriptWordTokenizer
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/torchscript/tokenizer/__init__.py", line 4, in <module>
from .bpe import ScriptBPE
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/torchscript/tokenizer/bpe.py", line 8, in <module>
from pytext.torchscript.utils import utf8_chars
File "/home/joshnoble/pytext/pytvenv/lib/python3.8/site-packages/pytext_nlp-0.3.3-py3.8.egg/pytext/torchscript/utils.py", line 10, in <module>
torch.ops.load_library("//caffe2/torch/fb/nlp/operators:padded_sequences")
File "/home/joshnoble/.local/lib/python3.8/site-packages/torch/_ops.py", line 104, in load_library
ctypes.CDLL(path)
File "/usr/lib/python3.8/ctypes/__init__.py", line 369, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /caffe2/torch/fb/nlp/operators:padded_sequences: cannot open shared object file: No such file or directory
Expected Results
That pytext would run?
Relevant Code
Calling on the command line
$pytext train < demo/configs/docnn.json
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Steps to reproduce
Observed Results
Error in pytorch:
Expected Results
Relevant Code
Calling on the command line
The text was updated successfully, but these errors were encountered: