Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running locally #24

Open
munozariasjm opened this issue Dec 16, 2021 · 0 comments
Open

Problem running locally #24

munozariasjm opened this issue Dec 16, 2021 · 0 comments

Comments

@munozariasjm
Copy link

munozariasjm commented Dec 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant