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

Module import error #25

Open
Cybernetic1 opened this issue Oct 11, 2021 · 1 comment
Open

Module import error #25

Cybernetic1 opened this issue Oct 11, 2021 · 1 comment

Comments

@Cybernetic1
Copy link

$ python experiments/classify.py

Traceback (most recent call last):
File "experiments/classify.py", line 1, in
import former
File "/home/yky/miniconda3/envs/former/lib/python3.7/site-packages/former/init.py", line 1, in
from .modules import SelfAttention, SelfAttentionWide, TransformerBlock, SelfAttentionRelative, SelfAttentionNarrow
File "/home/yky/miniconda3/envs/former/lib/python3.7/site-packages/former/modules.py", line 1, in
from .util import mask_, d, slice_diag
ModuleNotFoundError: No module named 'former.util'

@jalotra
Copy link

jalotra commented Jan 19, 2022

Did you do pip install -e . ?

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

2 participants