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

ImportError: No module named 'texar.tf' #279

Open
TWJ718925 opened this issue Jun 2, 2020 · 1 comment
Open

ImportError: No module named 'texar.tf' #279

TWJ718925 opened this issue Jun 2, 2020 · 1 comment
Labels
question Further information is requested

Comments

@TWJ718925
Copy link

There is an error when using tx.modules.TransformerEncoder to pass hparams!How to deal with it?

Traceback (most recent call last):
File "/home/twjing/PycharmProjects/infilling/Text_Infilling-master/seq2seq.py", line 34, in
import seq2seq_hyperparams
File "/home/twjing/PycharmProjects/infilling/Text_Infilling-master/seq2seq_hyperparams.py", line 10, in
from texar.tf.modules import default_transformer_poswise_net_hparams
ImportError: No module named 'texar.tf'

@ZhitingHu ZhitingHu added the question Further information is requested label Jun 9, 2020
@ZhitingHu
Copy link
Member

Your texar is probably not installed correctly. Did you follow the steps here: https://github.com/asyml/texar#installation

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

No branches or pull requests

2 participants