-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi!, I hope you are doing good.
I'm having broblems to run the server/main.py after installing as default with makefile.
The Traceback is:
The above exception was the direct cause of the following exception: Traceback (most recent call last): File "server/main.py", line 20, in <module> from data_processing import from_model, from_base_dir File "/home/jose/Codes/Work/GUANE/AVIGAIL/exBERT/exbert/server/data_processing/__init__.py", line 1, in <module> from .corpus_data_wrapper import CorpusDataWrapper File "/home/jose/Codes/Work/GUANE/AVIGAIL/exBERT/exbert/server/data_processing/corpus_data_wrapper.py", line 6, in <module> from spacyface.simple_spacy_token import SimpleSpacyToken File "/home/jose/miniconda3/envs/exbert/lib/python3.7/site-packages/spacyface/__init__.py", line 1, in <module> from .aligner import ( File "/home/jose/miniconda3/envs/exbert/lib/python3.7/site-packages/spacyface/aligner.py", line 8, in <module> from transformers import ( File "<frozen importlib._bootstrap>", line 1032, in _handle_fromlist File "/home/jose/miniconda3/envs/exbert/lib/python3.7/site-packages/transformers/file_utils.py", line 2271, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/home/jose/miniconda3/envs/exbert/lib/python3.7/site-packages/transformers/file_utils.py", line 2285, in _get_module ) from e RuntimeError: Failed to import transformers.models.bert because of the following error (look up to see its traceback): Failed to import transformers.modeling_utils because of the following error (look up to see its traceback): module 'torch' has no attribute 'BoolTensor'
Thanks in advance for any help!
Regards