ZhengkunTian / OpenTransformer

A No-Recurrence Sequence-to-Sequence Model for Speech Recognition
MIT License
372 stars 66 forks source link

跑run .py出现下面的错误,问下这是什么问题啊 #19

Closed cst781 closed 4 years ago

cst781 commented 4 years ago

File "run.py", line 7, in from otrans.model import Transformer File "/home/shaotianc/OpenTransformer/otrans/model/init.py", line 1, in from .transformer import Transformer File "/home/shaotianc/OpenTransformer/otrans/model/transformer.py", line 3, in from otrans.encoder import TransformerEncoder File "/home/shaotianc/OpenTransformer/otrans/encoder.py", line 5, in from otrans.utils import get_enc_padding_mask File "/home/shaotianc/OpenTransformer/otrans/utils.py", line 5, in from tensorboardX import SummaryWriter File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/tensorboardX/init.py", line 5, in from .torchvis import TorchVis File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/tensorboardX/torchvis.py", line 11, in from .writer import SummaryWriter File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/tensorboardX/writer.py", line 15, in from .event_file_writer import EventFileWriter File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/tensorboardX/event_file_writer.py", line 28, in from .proto import event_pb2 File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/tensorboardX/proto/event_pb2.py", line 6, in from google.protobuf import descriptor as _descriptor File "/home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/google/protobuf/descriptor.py", line 47, in from google.protobuf.pyext import _message ImportError: /home/shaotianc/miniconda3/envs/py35/lib/python3.5/site-packages/google/protobuf/pyext/_message.cpython-35m-x86_64-linux-gnu.so: undefined symbol: _ZNK6google8protobuf10TextFormat17FieldValuePrinter9PrintBoolEb