I work mostly with text and write in Python. I occasionally post in [[my blog]] for my readings and thoughts.
chenghaomou / pytorch-pqrnn Goto Github PK
View Code? Open in Web Editor NEWImplementation of pQRNN in PyTorch
License: MIT License
Implementation of pQRNN in PyTorch
License: MIT License
I work mostly with text and write in Python. I occasionally post in [[my blog]] for my readings and thoughts.
Hi,
I was trying to use the repo on Google Colab, but despite installing the requirements, I am getting the following error when running the run.py script.
Traceback (most recent call last):
File "pytorch-pQRNN/run.py", line 2, in
import pytorch_lightning as pl
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/init.py", line 28, in
from pytorch_lightning import metrics # noqa: E402
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/init.py", line 14, in
from pytorch_lightning.metrics.classification import ( # noqa: F401
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/classification/init.py", line 14, in
from pytorch_lightning.metrics.classification.accuracy import Accuracy # noqa: F401
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/classification/accuracy.py", line 18, in
from pytorch_lightning.metrics.functional.accuracy import _accuracy_compute, _accuracy_update
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/functional/init.py", line 14, in
from pytorch_lightning.metrics.functional.accuracy import accuracy # noqa: F401
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/functional/accuracy.py", line 18, in
from pytorch_lightning.metrics.classification.helpers import _input_format_classification, DataType
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/classification/helpers.py", line 19, in
from pytorch_lightning.metrics.utils import select_topk, to_onehot
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/metrics/utils.py", line 18, in
from pytorch_lightning.utilities import rank_zero_warn
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/init.py", line 18, in
from pytorch_lightning.utilities.apply_func import move_data_to_device # noqa: F401
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/apply_func.py", line 28, in
if _compare_version("torchtext", operator.ge, "0.9.0"):
File "/usr/local/lib/python3.7/dist-packages/pytorch_lightning/utilities/imports.py", line 52, in _compare_version
pkg = importlib.import_module(package)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/local/lib/python3.7/dist-packages/torchtext/init.py", line 5, in
from . import vocab
File "/usr/local/lib/python3.7/dist-packages/torchtext/vocab.py", line 13, in
from torchtext._torchtext import Vocab as VocabPybind
ImportError: /usr/local/lib/python3.7/dist-packages/torchtext/_torchtext.so: undefined symbol: _ZNK3c104Type14isSubtypeOfExtERKSt10shared_ptrIS0_EPSo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.