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

BUG #137

Open
dezhi0730 opened this issue Jun 19, 2024 · 0 comments
Open

BUG #137

dezhi0730 opened this issue Jun 19, 2024 · 0 comments

Comments

@dezhi0730
Copy link

Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../../../../anaconda3/envs/cortex-env/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_pre_train_root.py:9: in
from cortex.model.root import CombinedEncoderRoot, CombinedEncoderRootOutput
../../../../cortex/model/root/init.py:3: in
from ._pre_train_root import CombinedEncoderRoot, CombinedEncoderRootOutput
../../../../cortex/model/root/_pre_train_root.py:35: in
from Tape.tape import TAPETokenizer, ProteinBertModel
../../../../Tape/init.py:1: in
from .tape import TAPETokenizer # noqa: F401
../../../../Tape/tape/init.py:1: in
from . import datasets # noqa: F401
../../../../Tape/tape/datasets.py:16: in
from .registry import registry
../../../../Tape/tape/registry.py:3: in
from .models.modeling_utils import ProteinModel
../../../../Tape/tape/models/init.py:4: in
from .modeling_bert import ProteinBertModel # noqa: F401
../../../../Tape/tape/models/modeling_bert.py:38: in
from ..registry import registry
E ImportError: cannot import name 'registry' from partially initialized module 'Tape.tape.registry' (most likely due to a circular import)****

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